Almost finish implementing client side
This commit is contained in:
8
Client/app/routes.ts
Normal file
8
Client/app/routes.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import { type RouteConfig, index, route } from "@react-router/dev/routes";
|
||||
|
||||
export default [
|
||||
index("routes/posts.tsx"),
|
||||
//route("posts", "routes/posts/posts.tsx"),
|
||||
route("posts/:id", "routes/post.tsx"),
|
||||
route("tags", "routes/tags.tsx"),
|
||||
] satisfies RouteConfig;
|
||||
Reference in New Issue
Block a user