feat(lst): tan stack routes added with protected routes
This commit is contained in:
9
frontend/src/routes/_auth/dashboard.tsx
Normal file
9
frontend/src/routes/_auth/dashboard.tsx
Normal file
@@ -0,0 +1,9 @@
|
||||
import { createFileRoute } from '@tanstack/react-router'
|
||||
|
||||
export const Route = createFileRoute('/_auth/dashboard')({
|
||||
component: RouteComponent,
|
||||
})
|
||||
|
||||
function RouteComponent() {
|
||||
return <div>Hello "/_auth/dashboard"!</div>
|
||||
}
|
||||
9
frontend/src/routes/_auth/profile.tsx
Normal file
9
frontend/src/routes/_auth/profile.tsx
Normal file
@@ -0,0 +1,9 @@
|
||||
import {createFileRoute} from "@tanstack/react-router";
|
||||
|
||||
export const Route = createFileRoute("/_auth/profile")({
|
||||
component: RouteComponent,
|
||||
});
|
||||
|
||||
function RouteComponent() {
|
||||
return <div>Hello "/profile"!</div>;
|
||||
}
|
||||
Reference in New Issue
Block a user