Browse Source

打包名称改为dist

anxiaoxia 3 years ago
parent
commit
172fe9e66c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      vue.config.js

+ 2 - 2
vue.config.js

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