wip
This commit is contained in:
@@ -4,21 +4,21 @@ import {
|
||||
route,
|
||||
layout,
|
||||
prefix,
|
||||
} from "@react-router/dev/routes";
|
||||
} from '@react-router/dev/routes'
|
||||
|
||||
export default [
|
||||
layout("layouts/app.tsx", [
|
||||
index("routes/overview/index.tsx"),
|
||||
route("users", "routes/users/index.tsx"),
|
||||
route("orders", "routes/orders/index.tsx"),
|
||||
route("enrollments", "routes/enrollments/index.tsx"),
|
||||
layout('layouts/app.tsx', [
|
||||
index('routes/overview/index.tsx'),
|
||||
route('users', 'routes/users/index.tsx'),
|
||||
route('orders', 'routes/orders/index.tsx'),
|
||||
route('enrollments', 'routes/enrollments/index.tsx'),
|
||||
]),
|
||||
layout("layouts/auth.tsx", [
|
||||
...prefix("auth", [
|
||||
index("routes/auth/signin/index.tsx"),
|
||||
route("signup", "routes/auth/signup/index.tsx"),
|
||||
route("forgot", "routes/auth/forgot/index.tsx"),
|
||||
route("passcode", "routes/auth/passcode/index.tsx"),
|
||||
layout('layouts/auth.tsx', [
|
||||
...prefix('auth', [
|
||||
index('routes/auth/signin/index.tsx'),
|
||||
route('signup', 'routes/auth/signup/index.tsx'),
|
||||
route('forgot', 'routes/auth/forgot/index.tsx'),
|
||||
route('passcode', 'routes/auth/passcode/index.tsx'),
|
||||
]),
|
||||
]),
|
||||
] satisfies RouteConfig;
|
||||
] satisfies RouteConfig
|
||||
|
||||
Reference in New Issue
Block a user