vuejs+vux+vuex+router
1.vue-cli脚手架
2.vue-cli脚手架基础上利用router构建单页应用
3.使用vuex进行组件通信,判断用户是否登录
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
For detailed explanation on how things work, checkout the guide and docs for vue-loader.