You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the layout is always the default one. The theme.yml looks like this:
layout: 'full-width'
As the bug is reproducable with all of the examples referenced in the docs, I think the feature is just not working at all.
Also the documented way of resolving the theme from the docs (const { theme } = useContent().globals;) and the useTheme composable don't work.
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered:
Environment
Windows_NT
v16.16.0
3.0.0-rc.9
0.5.1
pnpm@7.11.0
vite
modules
,nitro
,content
@nuxt/content@2.1.0
-
Reproduction
I used the content wind template as base and added a component to display the respective objects. The about page is not using the
full-width
layout, event though specified in the_theme.yml
. You can find the reproduction here:https://stackblitz.com/edit/github-t3qfjp?file=components%2Fcontent%2FGlobalsTest.vue,content%2F_theme.yml
Describe the bug
I found no working way to make the layoutFallbacks option work. Even with document driven mode configured like this:
the layout is always the default one. The theme.yml looks like this:
As the bug is reproducable with all of the examples referenced in the docs, I think the feature is just not working at all.
Also the documented way of resolving the theme from the docs (
const { theme } = useContent().globals;
) and theuseTheme
composable don't work.Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: