-
-
Notifications
You must be signed in to change notification settings - Fork 635
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
Cannot override components/content
when using multi layer
#1417
Comments
7 tasks
@pi0 ping 👍 😄 ... starting a fix here |
Merged
7 tasks
@pi0 Almost 😆
|
@pi0 Reverse is the right thing. But thats all what can be done here. If i think it right now it goes back to nuxt. Because dirs already has this state:
and only content comes then on top of it. |
7 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment
Darwin
v16.16.0
3.0.0-rc.6-27661960.60656df
[email protected]
vite
app
,algolia
,content
,nitro
,extends
,github
,theme
,modules
,plausible
,colorMode
@nuxthq/[email protected]
,@nuxtlabs/[email protected]
,@nuxtjs/[email protected]
-
Reproduction
https://codesandbox.io/s/eager-noyce-r9tjgs (originally posted by @CodeDredd in nuxt/framework#6382 (comment))
Describe the bug
Previously it was fine by using
components:dirs
and unshift a directory. But when supporting multi-layer in #1404, since we start by highest periority layer, second layers if containingcomponents/content
, their directory will be unshifted to the top, overriding user ones.Additional context
nuxt/framework#6382
Logs
After hook:
The text was updated successfully, but these errors were encountered: