-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
feat(nuxt3): extends support for pages/ & middleware/ directories #3783
Conversation
β Deploy Preview for nuxt3-docs canceled. π¨ Explore the source changes: 9a5f14b π Inspect the deploy log: https://app.netlify.com/sites/nuxt3-docs/deploys/623a0f388ad44d0009d9fb94 |
What do you think about adding some tests for this feature? |
@danielroe Yes, I'm planning to add tests for the |
@pi0 @danielroe Tests have been added for this feature :) |
Shall we add extends to the same basic fixture? i guess it won't harm or add side-effect to the other tests but saves CI build time. |
I'm not sure if this change is related, but routes are not working correctly, now it only resolves the first folder inside "pages". |
@wsaca Can you provide a reproduction repository cause I can't reproduce it. Thanks ! |
Hi @kevinmarrec, I created a simple example, try to navigate to /apis, /apps or /dbs. Only the first folder is resolved. |
Thanks @wsaca , @danielroe created an issue with your reproduction and I'm gonna check this asap |
β Type of change
π Description
Following up nuxt/nuxt#13367 (
extends
support progress) this PR allows extendingpages/
&middleware/
directories for extended config layers.pages
directorymiddleware
directoryβΉοΈ Override behavior
If they match same
name
, pages and middlewares defined ina
can be overriden byb
, and finally by the project itself.