@@ -15,6 +15,7 @@ import { Route as SyllabusImport } from './routes/Syllabus'
15
15
import { Route as StaffImport } from './routes/Staff'
16
16
import { Route as LoginImport } from './routes/Login'
17
17
import { Route as InquiryImport } from './routes/Inquiry'
18
+ import { Route as DashboardImport } from './routes/Dashboard'
18
19
import { Route as IndexImport } from './routes/index'
19
20
20
21
// Create/Update Routes
@@ -39,6 +40,11 @@ const InquiryRoute = InquiryImport.update({
39
40
getParentRoute : ( ) => rootRoute ,
40
41
} as any )
41
42
43
+ const DashboardRoute = DashboardImport . update ( {
44
+ path : '/Dashboard' ,
45
+ getParentRoute : ( ) => rootRoute ,
46
+ } as any )
47
+
42
48
const IndexRoute = IndexImport . update ( {
43
49
path : '/' ,
44
50
getParentRoute : ( ) => rootRoute ,
@@ -55,6 +61,13 @@ declare module '@tanstack/react-router' {
55
61
preLoaderRoute : typeof IndexImport
56
62
parentRoute : typeof rootRoute
57
63
}
64
+ '/Dashboard' : {
65
+ id : '/Dashboard'
66
+ path : '/Dashboard'
67
+ fullPath : '/Dashboard'
68
+ preLoaderRoute : typeof DashboardImport
69
+ parentRoute : typeof rootRoute
70
+ }
58
71
'/Inquiry' : {
59
72
id : '/Inquiry'
60
73
path : '/Inquiry'
@@ -90,6 +103,7 @@ declare module '@tanstack/react-router' {
90
103
91
104
export const routeTree = rootRoute . addChildren ( {
92
105
IndexRoute,
106
+ DashboardRoute,
93
107
InquiryRoute,
94
108
LoginRoute,
95
109
StaffRoute,
@@ -105,6 +119,7 @@ export const routeTree = rootRoute.addChildren({
105
119
"filePath": "__root.jsx",
106
120
"children": [
107
121
"/",
122
+ "/Dashboard",
108
123
"/Inquiry",
109
124
"/Login",
110
125
"/Staff",
@@ -114,6 +129,9 @@ export const routeTree = rootRoute.addChildren({
114
129
"/": {
115
130
"filePath": "index.jsx"
116
131
},
132
+ "/Dashboard": {
133
+ "filePath": "Dashboard.jsx"
134
+ },
117
135
"/Inquiry": {
118
136
"filePath": "Inquiry.jsx"
119
137
},
0 commit comments