摘要:
原文地址: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 阅读全文
摘要:
vue.config.js module.exports = { configureWebpack:{ externals: { vue: 'Vue', 'vue-router':'VueRouter', axios: 'axios' } } } vue.config.js 在index.html文 阅读全文
摘要:
axios使用说明文档 axios 全局配置: //axios-init.js import axios from 'axios'; let loadingInstance; //创建Loading 的实例 axios.defaults.baseURL = appConfig.xhr.baseURL 阅读全文