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)