outdated! please check vue-spa instead
A boilerplate for building spa with vue, vuex, vue-router
firstly, get vue-webpack-boilerplate
by vue-cli. and then add the dependencies(vuex
, vue-router
, vuex-router-sync
) for building spa.
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# run unit tests
npm run unit
# run e2e tests
npm run e2e
# run all tests
npm test
For detailed explanation on how things work, checkout the guide and docs for vue-loader.