Tyr4el
Explore posts from serversChild page/component replace parent page/component?
I had this but the NuxtPage was in the /playground.vue. I renamed that file to index.vue and put it in /playground. So now I have /playground/index.vue and /playground/child.vue. The index.vue has the NuxtPage on it and everything seems to be working right. Does that sound correct? @kapa.ai
13 replies
Keep default layout across all pages but use another layout that adds something on others?
Okay now I have the app working again without app.vue but now my other page that I want to still have the default layout on, but also use its own (because it includes other components I want), is not including the default layout now. @kapa.ai
23 replies
Keep default layout across all pages but use another layout that adds something on others?
One thing to clarify. This looks like it'll help but I'm using an
app.vue
that has the NuxtLayout and NuxtPage. But I also have an index.vue in pages/ to act as the homepage. Do I need app.vue? I wasn't clear from reading the docs @kapa.ai23 replies
Syntax highlighting in postcss style blocks
It's worth noting that if you only want to use Tailwind's @apply rules, you don't necessarily need these additional plugins. Tailwind CSS integration with Nuxt typically includes the necessary PostCSS setup for using @apply and other Tailwind features.How can I use these in
style
blocks inside a component? @kapa.ai29 replies