From 20ace402d16b8bb3593b06f39284d09ef935b447 Mon Sep 17 00:00:00 2001 From: timorls <318739742@qq.com> Date: Thu, 27 Jan 2022 13:04:08 +0800 Subject: [PATCH] mode --- public/index.html | 4 ++++ vue.config.js | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/public/index.html b/public/index.html index 557f347..290972d 100644 --- a/public/index.html +++ b/public/index.html @@ -7,7 +7,11 @@ + + + + <%= htmlWebpackPlugin.options.title %> diff --git a/vue.config.js b/vue.config.js index 383f68d..362868b 100644 --- a/vue.config.js +++ b/vue.config.js @@ -12,8 +12,12 @@ module.exports = { } }, configureWebpack: { - externals: { + externals: { + 'vue': 'Vue', 'element-ui': 'ELEMENT', + 'vue-router': 'VueRouter', + 'vuex': 'Vuex', + 'axios': 'axios', 'echarts': 'echarts' }, resolve: {