init: add code
This commit is contained in:
parent
475596444a
commit
1e09c02cb9
20 changed files with 2432 additions and 147 deletions
|
|
@ -1,3 +1,8 @@
|
|||
import { type RouteConfig, index } from "@react-router/dev/routes";
|
||||
import { type RouteConfig, index, route } from "@react-router/dev/routes";
|
||||
|
||||
export default [index("routes/home.tsx")] satisfies RouteConfig;
|
||||
export default [
|
||||
index("routes/home.tsx"),
|
||||
route("login", "routes/login.tsx"),
|
||||
route("create", "routes/create.tsx"),
|
||||
route("view", "routes/view.tsx")
|
||||
] satisfies RouteConfig;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue