Explorar el Código

feat:修改PC端构建的配置

xzh hace 4 años
padre
commit
7ea64889ad
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      pc/config/index.js

+ 2 - 2
pc/config/index.js

@@ -47,9 +47,9 @@ module.exports = {
     index: path.resolve(__dirname, '../../dist/index.html'),
 
     // Paths
-    assetsRoot: path.resolve(__dirname, '../../dist/www'),
+    assetsRoot: path.resolve(__dirname, '../../dist/www/static'),
     assetsSubDirectory: '',
-    assetsPublicPath: './www/',
+    assetsPublicPath: './www/static/',
 
     /**
      * Source Maps