A Vue.js project
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report
# run unit tests
npm run unit
# run all tests
npm test
For a detailed explanation on how things work, check out the guide and docs for vue-loader.
fuxiaosongdeMac-mini:front fuxiaosong$ vue init webpack POS
? Project name pos
? Project description A Vue.js project
? Author xiaosongfu <[email protected]>
? Vue build standalone
? Install vue-router? Yes
? Use ESLint to lint your code? Yes
? Pick an ESLint preset Standard
? Setup unit tests Yes
? Pick a test runner jest
? Setup e2e tests with Nightwatch? No
vue-cli · Generated "POS".
To get started:
cd POS
npm install
npm run dev
Documentation can be found at https://vuejs-templates.github.io/webpack
fuxiaosongdeMac-mini:front fuxiaosong$