# myVue **Repository Path**: ccxoy520/myVue ## Basic Information - **Project Name**: myVue - **Description**: 搭建vue项目 - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2018-04-24 - **Last Updated**: 2021-03-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # mydemo > 集成vue2.0基础框架,方便直接拿来修改使用 ## Build Setup ``` bash # 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 a detailed explanation on how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader). 参考文案: 1. 项目注意项: https://www.cnblogs.com/ang-/archive/2017/06/26/7082202.html 2. webpack配置参考: https://segmentfault.com/a/1190000008644830 Step1:在项目中安装Sass 1 npm install node-sass --save-dev 2 npm install sass-loader --save-dev Step2:在项目中添加commonCss 1 在App.vue 里 lang="scss" 2 @import './style/common'; Step3:在项目中封装axios请求 1.新建api目录,将不同模块所需的api封进一个对象里调用。 参考资料: 上拉刷新,下拉加载... : https://github.com/wangdahoo/vue-scroller