Jelajahi Sumber

add /web prefix

Michael Wang 3 tahun lalu
induk
melakukan
1a2d222675
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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`
 });