Replies: 1 comment
-
Q1: I used redirect in preload to resolved this Any better suggest ? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Q1: How do I set up basic routing hops?
for example:
Now I would like to automatically jump to /dashboard when I type home how can I configure the routes?
Q2: How to Configure Layout
When I configure _layout according to the official example, he reports an error.
It says that the same path is already registered.
for example
When I go to home, how to load the homeLayout and automatically jump to home/dashboard?
Q3: Is there a tool to generate routing paths automatically?
Assuming that each
pages
page has an index.tsx, I want routes to map this relationship.PS: I don't put specific code logic in the routes.
I think the routes should just handle the jumps, container loading, and some related processing, and I put all the specific page content under pages.
Here's a project where I tried to use tanstack:
https://github.com/origadmin/shadcn-admin-design
Beta Was this translation helpful? Give feedback.
All reactions