Selaa lähdekoodia

add /web prefix

Michael Wang 3 vuotta sitten
vanhempi
commit
1a2d222675
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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`
 });