@@ -5,7 +5,7 @@ import { useUserStore } from '../store/user'
55import { useAuthStore } from '../store/auth'
66
77const routes : RouteRecordRaw [ ] = [
8- { path : '/' , redirect : '/dashboard ' } ,
8+ { path : '/' , redirect : '/setup ' } ,
99 { path : '/dashboard' , name : 'Dashboard' , component : ( ) => import ( '../components/MainDashboard.vue' ) , meta : { roles : [ 'admin' , 'vorstand' , 'notenwart' , 'mitglied' ] } } ,
1010 { path : '/library' , name : 'Library' , component : ( ) => import ( '../views/LibraryView.vue' ) , meta : { roles : [ 'admin' , 'notenwart' , 'dirigent' , 'mitglied' ] } } ,
1111 { path : '/members' , name : 'Members' , component : ( ) => import ( '../views/MembersView.vue' ) , meta : { roles : [ 'admin' , 'vorstand' ] } } ,
@@ -18,7 +18,7 @@ const routes: RouteRecordRaw[] = [
1818 { path : '/settings' , name : 'Settings' , component : ( ) => import ( '../views/SettingsView.vue' ) , meta : { roles : [ 'admin' ] } } ,
1919 { path : '/import' , name : 'MemberImport' , component : ( ) => import ( '../views/MemberImport.vue' ) } ,
2020 { path : '/login' , name : 'Login' , component : ( ) => import ( '../components/Login.vue' ) } ,
21- { path : '/setup' , name : 'Setup' , component : ( ) => import ( '../components/SetupWizard .vue' ) }
21+ { path : '/setup' , name : 'Setup' , component : ( ) => import ( '../views/SetupView .vue' ) }
2222]
2323
2424const router = createRouter ( { history : createWebHistory ( ) , routes } )
0 commit comments