Explorar el Código

add /web prefix

Michael Wang hace 3 años
padre
commit
1a2d222675
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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`
 });