소스 검색

add /web prefix

Michael Wang 3 년 전
부모
커밋
1a2d222675
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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`
 });