Sfoglia il codice sorgente

feat: 修改路径

linwenxin 1 anno fa
parent
commit
88cbc65879
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      src/manifest.json

+ 2 - 2
src/manifest.json

@@ -13,7 +13,7 @@
   },
   "h5": {
     "title": "",
-    "publicPath": "/",
+    "publicPath": "/recycleh5/",
     "devServer": {
       "https": false,
       "port": 3000,
@@ -31,7 +31,7 @@
     },
     "router": {
       "mode": "history",
-      "base": "/"
+      "base": "/recycleh5/"
     },
     "optimization": {
       "prefetch": true,