Quellcode durchsuchen

add /web prefix

Michael Wang vor 3 Jahren
Ursprung
Commit
1a2d222675
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      src/router/index.ts

+ 1 - 1
src/router/index.ts

@@ -93,7 +93,7 @@ const routes = [
 // keep it simple for now.
 const router = createRouter({
   // 4. Provide the history implementation to use. We are using the hash history for simplicity here.
-  history: createWebHistory(""),
+  history: createWebHistory("web"),
   routes, // short for `routes: routes`
 });