add amplify
This commit is contained in:
@@ -1,3 +1,24 @@
|
||||
import { type RouteConfig, index } from "@react-router/dev/routes";
|
||||
import {
|
||||
type RouteConfig,
|
||||
index,
|
||||
route,
|
||||
layout,
|
||||
prefix,
|
||||
} from "@react-router/dev/routes";
|
||||
|
||||
export default [index("routes/home.tsx")] satisfies RouteConfig;
|
||||
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/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;
|
||||
|
||||
Reference in New Issue
Block a user