diff --git a/public/index.html b/public/index.html index a86e41d..557f347 100644 --- a/public/index.html +++ b/public/index.html @@ -6,7 +6,8 @@ - + + <%= htmlWebpackPlugin.options.title %> diff --git a/vue.config.js b/vue.config.js index b65faaf..362868b 100644 --- a/vue.config.js +++ b/vue.config.js @@ -12,6 +12,14 @@ module.exports = { } }, configureWebpack: { + externals: { + 'vue': 'Vue', + 'element-ui': 'ELEMENT', + 'vue-router': 'VueRouter', + 'vuex': 'Vuex', + 'axios': 'axios', + 'echarts': 'echarts' + }, resolve: { alias: { components: "@/components",