A Vue.js project
#before start
如提示缺包,可安装:
npm install axios vuex -s
npm install axios -s
npm install babel-loader -s
# 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
username: john password: 123
运行地址:http://localhost:8080/#/Login ,Vue模板里边,全部用 $store的形式处理,不引入...Map的辅助函数
For a detailed explanation on how things work, check out the guide and docs for vue-loader.