Nuxt Layers merge content #2748
snakemastr
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to merge content folders in multiple layers with nuxt/content module?
It works for Components as expected yet content breaks if not all content files are defined in the layer.
For example:
./components/content/modal.vue
./components/content/help.vue
./content/modal.md
./content/help.md
Works
If I add ./layers/layer/content/modal.md the help.md cannot be found anymore... I would expect help.md to be resolved from the root and modal.md from the layer.
I prefer not to define multiple sources with prefixes as I expect the nuxt layers to work like above and I don't want to be explicit in multiple layers.
Beta Was this translation helpful? Give feedback.
All reactions