From e6aad7e4fc1a5198941c064f48682c39cab253e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=9C=84?= Date: Thu, 21 Mar 2024 15:14:22 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/index.html | 12 ++++++------ src/pages/page1/config.json | 2 +- vue.config.js | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/public/index.html b/public/index.html index abc918d..c699a7a 100644 --- a/public/index.html +++ b/public/index.html @@ -6,21 +6,21 @@ <%= htmlWebpackPlugin.options.title %> - - - + + + <% if (process.env.NODE_ENV === 'development' ) { %> - + <% } %> <% if (process.env.NODE_ENV === 'production' ) { %> - + <% } %> <% if (process.env.NODE_ENV === 'test' ) { %> - + <% } %> diff --git a/src/pages/page1/config.json b/src/pages/page1/config.json index c61d367..2f216ce 100644 --- a/src/pages/page1/config.json +++ b/src/pages/page1/config.json @@ -22,4 +22,4 @@ "buttons" : [] } ] -} \ No newline at end of file +} diff --git a/vue.config.js b/vue.config.js index ff303bb..d21c64d 100644 --- a/vue.config.js +++ b/vue.config.js @@ -15,8 +15,8 @@ function resolve (dir) { module.exports = { pages, - publicPath: '/', - outputDir:"onlyofficeplugins", //设置打包后的项目目录名称 + // publicPath: '/onlyofficeplugins/', + outputDir: 'onlyofficeplugins', //设置打包后的项目目录名称 configureWebpack: { plugins: [ new CopyWebpackPlugin(configs)