diff --git a/vue.config.js b/vue.config.js index 1d22342..af8906a 100644 --- a/vue.config.js +++ b/vue.config.js @@ -31,9 +31,11 @@ const assetsCDN = { // vue.config.js const vueConfig = { + // 打包资源路径 + publicPath: './', + // 输出文件目录 + outputDir: 'dist', configureWebpack: { - // 打包资源路径 - publicPath: './', // webpack plugins plugins: [ // Ignore all locale files of moment.js