vue2+webpack 移动生态 常用依赖

1.脚手架:官方的vue-cli已经很方便了

2.路由:vue-router : https://router.vuejs.org/zh-cn/essentials/named-routes.html

3.http:axios : https://github.com/imcvampire/vue-axios

4.状态管理:vuex  

5.cookie: vue-cookie          https://www.npmjs.com/package/vue-cookie

6.swiper: vue-awesome-swiper   https://github.com/cynthiawupore/vue-awesome-swiper

 

 "dependencies": {
    "axios": "^0.16.2",
    "vue": "^2.3.3",
    "vue-awesome-swiper": "^2.5.4",
    "vue-axios": "^2.0.2",
    "vue-cookie": "^1.1.4",
    "vue-router": "^2.6.0",
    "vuex": "^2.3.1"
  },

 

当然 最好的学习方式是看官方文档啦

https://github.com/vuejs/awesome-vue

 

posted @ 2017-07-31 11:03  Cynthia娆墨旧染  阅读(380)  评论(0编辑  收藏  举报