A Vue.js project
🔸 参考慕课网仿饿了么webapp课程
🔸 基于vue2.0实现的仿饿了么商家页SPA
🔸 主要依赖
◾ -vuex 状态管理 实现组件通信
◾ -vue-router 实现页面路由切换
◾ -axios 请求数据
◾ -better-scroll 实现页面滚动效果
◾ -stylus 页面样式编写
🔸 组件化、模块化开发
# 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
# run unit tests
npm run unit
# run all tests
npm test
For a detailed explanation on how things work, check out the guide and docs for vue-loader.