结合Vuex的小实例 前后端分离 数据库表请自行创建
# install dependencies
npm install
# 启动后台
node server/index.js
# 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
For a detailed explanation on how things work, check out the guide and docs for vue-loader.