This commit is contained in:
fuenmao
2026-09-22 15:40:58 +08:00
parent dec3dfdfe3
commit e6215912d9
6 changed files with 100 additions and 693 deletions
+1 -2
View File
@@ -1,6 +1,5 @@
import { createRouter, createWebHistory } from 'vue-router'
import AuthView from './views/AuthView.vue'
import OnboardingView from './views/OnboardingView.vue'
import DashboardView from './views/DashboardView.vue'
import AssessmentView from './views/AssessmentView.vue'
import ProfileView from './views/ProfileView.vue'
@@ -12,7 +11,7 @@ const router = createRouter({
routes: [
{ path: '/', redirect: '/dashboard' },
{ path: '/auth', component: AuthView, meta: { guest: true } },
{ path: '/onboarding', component: OnboardingView },
{ path: '/onboarding', redirect: '/assessment' },
{ path: '/dashboard', component: DashboardView },
{ path: '/assessment', component: AssessmentView },
{ path: '/profile', component: ProfileView },