Skip to content
New issue

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

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

Already on GitHub? # to your account

fix(unplugin-vue-router)!: skip top-level route layout for index route children #137

Merged
merged 2 commits into from
Dec 27, 2023

Conversation

markthree
Copy link
Collaborator

unplugin-vue-router adds a top-level route to the routing group, which we should skip, close #134

Although I've tested enough scenarios, feel free to let me know if you find any issues, plus this is a breaking change! 🤣

@markthree markthree changed the title fix(unplugin-vue-router): skip top-level route layout for routing gro… fix(unplugin-vue-router)!: skip top-level route layout for routing gro… Dec 26, 2023
@markthree markthree changed the title fix(unplugin-vue-router)!: skip top-level route layout for routing gro… fix(unplugin-vue-router)!: skip top-level route layout for index route children Dec 26, 2023
@JohnCampionJr
Copy link
Owner

@markthree how does this interact with #136 ?

@markthree
Copy link
Collaborator Author

markthree commented Dec 27, 2023

@markthree how does this interact with #136 ?

These are two separate pr's, to make it easier to merge without conflicts I will update this code

@markthree
Copy link
Collaborator Author

Done. If you want to fix both #134 and #97, merge this pr and close #136.

If you wish to fix only #97, merge #136 and close #137

@JohnCampionJr JohnCampionJr merged commit bb751cb into JohnCampionJr:main Dec 27, 2023
1 check passed
@JohnCampionJr
Copy link
Owner

JohnCampionJr commented Dec 27, 2023

@markthree thanks for this; all looks good to me. I just tried all of the examples and all behaved :)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Nested page render the default layout even set to another layout
2 participants