摘要:
原文地址:https://router.vuejs.org/zh/guide/advanced/lazy-loading.html#%E6%8A%8A%E7%BB%84%E4%BB%B6%E6%8C%89%E7%BB%84%E5%88%86%E5%9D%97 路由懒加载 当打包构建应用时,JavaS 阅读全文
posted @ 2019-11-07 20:08
小水皮
阅读(221)
评论(0)
推荐(0)
摘要:
vue.config.js module.exports = { configureWebpack:{ externals: { vue: 'Vue', 'vue-router':'VueRouter', axios: 'axios' } } } vue.config.js 在index.html文 阅读全文
posted @ 2019-11-07 19:59
小水皮
阅读(13812)
评论(2)
推荐(0)
摘要:
axios使用说明文档 axios 全局配置: //axios-init.js import axios from 'axios'; let loadingInstance; //创建Loading 的实例 axios.defaults.baseURL = appConfig.xhr.baseURL 阅读全文
posted @ 2019-11-07 10:17
小水皮
阅读(32409)
评论(0)
推荐(1)

浙公网安备 33010602011771号