vue+vuex+vue-router simple template
# 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
项目启动后, 密码均为123456 账号为all,可以看到全部页面 账号为redyellow,则只能看到红色和黄色页面 账号为redblue,则只能看到红色和蓝色页面
For a detailed explanation on how things work, check out the guide and docs for vue-loader.