anxiaoxia 3 lat temu
rodzic
commit
a6d9f4d650
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      vue.config.js

+ 2 - 2
vue.config.js

@@ -6,8 +6,8 @@ console.log('env2', env);
 
 
 module.exports = {
-    publicPath: '/dist', //相对路径
-    outputDir: 'dist', //打包名称
+    publicPath: '/sgshow', //相对路径
+    outputDir: 'dist/sgshow', //打包名称
     assetsDir: "static", //静态目录
     lintOnSave: false, //关闭lint代码
     productionSourceMap: false, // 生产环境是否开启sourceMap