a webpack & vue-cli project, pizza ordering system demo.
# install node.js
# install webpack global: -g , only this project: --save-dev
npm install webpack webpack-cli -g
# install vue-cli
npm install --global vue-cli
# install dependencies
npm install
# or use `cnpm` from taobao.org, then use `cnpm install`
npm install -g cnpm --registry=https://registry.npm.taobao.org
# serve with hot reload at localhost:8080(if this general port is busy,then use port 8081)
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 e2e tests
npm run e2e
# run all tests
npm test
here is the website to install node.js. For a detailed explanation on how things work, check out the guide and docs for vue-loader.