Explorar el Código

打包名称改为dist

anxiaoxia hace 3 años
padre
commit
172fe9e66c
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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