diff --git a/build/webpack.prod.conf.js b/build/webpack.prod.conf.js index a534ad4..b060333 100644 --- a/build/webpack.prod.conf.js +++ b/build/webpack.prod.conf.js @@ -66,7 +66,7 @@ const webpackConfig = merge(baseWebpackConfig, { ? 'index.html' : config.build.index, template: 'index.html', - inject: false, + inject: true, minify: { removeComments: true, collapseWhitespace: true, diff --git a/index.html b/index.html index 8e0bea6..ed60c4a 100644 --- a/index.html +++ b/index.html @@ -7,7 +7,7 @@ 数字化管理系统 - + diff --git a/src/assets/js/echarts/echarts.min.js b/static/js/echarts.min.js similarity index 100% rename from src/assets/js/echarts/echarts.min.js rename to static/js/echarts.min.js