test for vue-cli
# 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, consult the docs for vue-loader.
webpack+vue+vue-router 实现
技术点:1.vue-cli 安装使用一些webpack的重新定义,增加style-loader 2.vue-router 1>router重定向;2>router钩子;3>router-link的设计使用; 3.单文件组件使用,单文件组件中加入组建,组件中通信,组件复用 4.第三方插件的使用,jquery,swiper 5.sass使用 6.vue click、v-for、v-module等的使用