11
This commit is contained in:
+1
-2
@@ -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 },
|
||||
|
||||
Reference in New Issue
Block a user