diff --git a/middleware/auth.global.ts b/middleware/auth.global.ts index d1a8c24..5691463 100644 --- a/middleware/auth.global.ts +++ b/middleware/auth.global.ts @@ -16,8 +16,8 @@ export default defineNuxtRouteMiddleware(async (to, _from) => { // 로그인된 사용자의 경우 권한 체크 if (userStore.isLoggedIn) { - // 루트 경로는 항상 허용 - if (to.path === "/") { + // 홈화면 경로는 항상 허용 + if (to.path === "/" || to.path === "/1/") { return; } diff --git a/pages/index.vue b/pages/index.vue index 0ad389d..b083272 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -1,116 +1,5 @@ - - - - - - Integrated Bio Foundry Platform(pages/index.vue) - - - 통합 바이오 파운드리 플랫폼에 오신 것을 환영합니다 - - - - - - 안녕하세요, - {{ - userStore.user?.name - }}님! - - - - 로그인이 필요합니다 - - 로그인하기 - - - - - - - - - 1 - - Feature 1 - Tailwind CSS가 정상 작동하고 있습니다! - - - - - 2 - - Feature 2 - 반응형 디자인이 적용되었습니다. - - - - - 3 - - Feature 3 - 모던한 UI 컴포넌트를 사용할 수 있습니다. - - - - - - - Primary Button - - - Secondary Button - - - - - - - -
- 통합 바이오 파운드리 플랫폼에 오신 것을 환영합니다 -
- 안녕하세요, - {{ - userStore.user?.name - }}님! -
로그인이 필요합니다
Tailwind CSS가 정상 작동하고 있습니다!
반응형 디자인이 적용되었습니다.
모던한 UI 컴포넌트를 사용할 수 있습니다.