Vue.js
0001-01-01 (Mon) · 91 words

前提

$ npm --version
6.2.0

vue-cli インストール

$ npm install -g vue-cli
? Project name my-project
? Project description A Vue.js project
? Author XXX
? Vue build standalone
#ここ重要# ? Install vue-router? No
? Use ESLint to lint your code? Yes
? Pick an ESLint preset Standard
? Set up unit tests Yes
? Pick a test runner jest
? Setup e2e tests with Nightwatch? Yes
? Should we run `npm install` for you after the project has been created? (recommended) npm

実行

$ cd my-project
$ npm run dev

Top     back     Posts     Tags     About Me