Ver código fonte

feat:修改PC端构建的配置

xzh 4 anos atrás
pai
commit
7ea64889ad
1 arquivos alterados com 2 adições e 2 exclusões
  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