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(nuxt): scan and register layouts in nested folders #20190
feat(nuxt): scan and register layouts in nested folders #20190
Conversation
Β Open in CodeSandbox Web Editor | VS Code | VS Code Insiders |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wonderful - this looks great! β€οΈ
Just one change - rather than placing the normalisation logic here in the runtime, can we do it in the build time context (packages/nuxt/src/core/app.ts
)?
@pi0 / @danielroe / @Atinux |
I have already reviewed and requested a change. |
β¦-not-respect-layouts-in-separate-folders
224143f
to
75990c5
Compare
Looks good to me, would be nice to update the documentation about it (can be done later) |
β¦-not-respect-layouts-in-separate-folders
β Live Preview ready!
|
I'm not sure if the is the right place to ask. What is the use case for this feature? Just curious. |
Co-authored-by: Daniel Roe <daniel@roe.dev>
fix(nuxt): Nuxt 3 does not respect layouts in separate folders (#14275)
π Linked issue
resolves #14275
β Type of change
π Description
Fix the issue of not being able to create layouts in different directories, as specified in Issue #14275.
Now, we can define layouts in the following format:
For example:
π Checklist