Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support index default layout #249

Merged
merged 4 commits into from
Jun 30, 2022
Merged

Conversation

liho98
Copy link
Contributor

@liho98 liho98 commented Jun 29, 2022

This PR is tend to fix the react router useRoutes function, we dont have to explicitly indicate route.index: true. Besides, this will allow the index route to support default layout for its children.

issue link: #248

@hannoeru hannoeru changed the title fix: fix index route error to support index default layout feat: support index default layout Jun 30, 2022
@hannoeru hannoeru merged commit 4370de8 into hannoeru:main Jun 30, 2022
ckangwen pushed a commit to charrue/vite-plugin-pages that referenced this pull request Jan 24, 2023
Co-authored-by: liho <liho@revenuemonster.my>
Co-authored-by: hanlee <me@hanlee.co>
Co-authored-by: ハン / Han <16288797+hannoeru@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants