Upgrade to Pro — share decks privately, control downloads, hide ads and more …

秒速でリリースするWebアプリ.pdf

Hirofumi Horiuchi
September 27, 2019
20

 秒速でリリースするWebアプリ.pdf

Hirofumi Horiuchi

September 27, 2019
Tweet

Transcript

  1. 今日話すこと Today’s Contents ▪ Vue CLI で簡単にテンプレート作成 Create Vue.js app

    very easy using Vue CLI. ▪ GitHubにPush Push to GitHub. ▪ Netlifyでお手軽リリース Easy release using Netlify.
  2. npm install -g @vue/cli # Check Installed vue -V Vue

    CLIのインストール Installation
  3. 7 Vue CLIで プロジェクト作成 Create Vue.js project vue create hello-world

    Enter を押すと Vue Projectが作られます。 Press Enter to create the project.
  4. Create時のオプション 1 Create options Babel Babelを使うか選択。 Select to use Babel.

    TypeScript TypeScriptを使うか選択。 Select to use TypeScript. Progressive Web App(PWA) Support PWA対応のサポートをするか選択。 Select to use PWA support.
  5. Create時のオプション 2 Create options Router Vue Routerを使うか選択。 Select to use

    Vue Router. Vuex Vuexを使うか選択。 Select to use Vuex. CSS Pre-processors Sass/SCSS, Less, Stylus のいずれかを選択して利用できる。 Select to use Sass/SCSS or Less or Stylus.
  6. Create時のオプション 3 Create options Linter / Formatter ESLint(TSLint)を利用するか選択。ルールの大枠も選択可。 Select to

    use ESLint(TSLint), and selectable rules. Unit Testing Unit Testを利用するか選択。’Mocha + Chai’ or ‘Jest’のいずれか Select to use Unit Test. Selectable ‘Mocha + Chai’ or ‘Jest’l E2E Testing E2E Testを利用するか選択。’Cypress’ or ‘Nightwatch’のいずれか Select to use E2E Test. Selectable ‘Cypress’ or ‘Nightwatch’
  7. netlify の良いところ Good points about netlify デプロイの設定がUIポチポチだけで簡単にできる。 Deployment settings can

    be made easily with just the UI. GitHubのmasterブランチにPushしたら自動でデプロイ。 Deploy automatically when you push to the master branch of GitHub.
  8. Vue.js + Firebaseの 開発 How to develop Vue.js and Firebase.

    There might be a change of plan. VSCode is amazing!