Browse Source

优化:打包H5后支持二级目录访问

Martin 5 years ago
parent
commit
001c33270f
1 changed files with 6 additions and 0 deletions
  1. 6 0
      manifest.json

+ 6 - 0
manifest.json

@@ -81,5 +81,11 @@
     },
     "uniStatistics" : {
         "enable" : false
+    },
+    "h5" : {
+        "router" : {
+            "mode" : "history",
+            "base" : "./"
+        }
     }
 }