一个新的vue脚手架需要安装的基本的依赖
一个崭新的脚手架需要下载安装一些必要的依赖,其自身带有的如下: 需要根据开发需求安装合适的依赖
npm install axios //发请求 yarn add vuex //vue的状态管理模式 yarn add better-scroll yarn add lib-flexible yarn add lodash yarn add vue-router //路由 yarn add stylus stylus-loader //预编译语言 yarn add core-js yarn add postcss-px2rem //第三方适配库 yarn add vee-validate //表单验证 yarn add swiper yarn add babel-plugin-component "babel-polyfill": "^6.26.0", "classlist-polyfill": "^1.2.0", "d3": "^5.15.0", "echarts": "^4.7.0", "element-ui": "^2.8.2", "js-base64": "^2.5.1", "js-cookie": "^2.2.0", "mockjs": "^1.0.1-beta3", "node-gyp": "^5.0.6", "nprogress": "^0.2.0", "script-loader": "^0.7.2", "v-charts": "^1.19.0", "vue-amap": "^0.5.10", "vue-axios": "^2.1.2", "vue-i18n": "^8.7.0", "vued3tree": "^5.1.0", "chai": "^4.1.2", "cz-conventional-changelog": "^3.2.0", "node-sass": "^4.12.0", "sass-loader": "^7.0.1", "webpack-bundle-analyzer": "^3.0.3" "mint-ui": "^2.2.13",