git clone [email protected]:Chanran/heweather.git
cd heweather
npm install --registry=https://registry.npm.taobao.org
npm run dev
vue2.x + vue-router2.x + axios + vuex2.x + vux2.x
- vue文档(基础知识)
- vux文档(UI框架)
- vue-router文档(路由库)
- axios文档(http请求)
- vuex文档(管理应用状态)
- vue-loader文档(.vue模板)
- vue-cli中文翻译文档(脚手架)
- 参考购物车demo
开发环境依赖
# 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
For detailed explanation on how things work, checkout the guide and docs for vue-loader.