A Vue.js/express test project
1.由vue.js编写的前台及路由部分
2.由Express&Node.js编写的后台api部分
整个项目需要两个服务服务启动如下
# install dependencies
cd vue-spa-01
npm install
# serve with hot reload at localhost:8888
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report
# install dependencise
cd express-server-01
npm install
#serve with hot reload at localhost:8886
cd bin
node www
For detailed explanation on how things work, checkout the guide and docs for vue-loader.