Tyr4el
Tyr4el
Explore posts from servers
NNuxt
Created by Tyr4el on 12/27/2024 in #❓・help
Unexpected token ';' when refreshing every page
I'm sort of confused on when to use useFetch and when to use $fetch. Do I use $fetch on client and server? For example, in my page and on my route
9 replies
NNuxt
Created by Tyr4el on 12/27/2024 in #❓・help
Unexpected token ';' when refreshing every page
Ah thank you 😄
9 replies
NNuxt
Created by Tyr4el on 12/21/2024 in #❓・help
Child page/component replace parent page/component?
#2 sort of. I do have a playground in /layouts that defines the layout with sidebar. Is that right? @kapa.ai
13 replies
NNuxt
Created by Tyr4el on 12/21/2024 in #❓・help
Child 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
NNuxt
Created by Tyr4el on 12/20/2024 in #❓・help
Collapsible sections in Vertical Nav for NuxtUI?
Can you explain why it's needed here? I can't wrap my head around what it's doing exactly. Help me understand @kapa.ai
21 replies
NNuxt
Created by Tyr4el on 12/20/2024 in #❓・help
Collapsible sections in Vertical Nav for NuxtUI?
@kapa.ai I didn't know you could have multiple template elements in one. What is this doing?
21 replies
NNuxt
Created by Tyr4el on 12/20/2024 in #❓・help
Collapsible sections in Vertical Nav for NuxtUI?
$300 is a steep price to pay for little old me lol. I guess Accordion it is @kapa.ai
21 replies
NNuxt
Created by Tyr4el on 12/20/2024 in #❓・help
Keep default layout across all pages but use another layout that adds something on others?
Okay there we go. I didn't realize I could use NuxtLayout in multiple places as needed. That's my fault @kapa.ai
23 replies
NNuxt
Created by Tyr4el on 12/20/2024 in #❓・help
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
NNuxt
Created by Tyr4el on 12/20/2024 in #❓・help
Keep default layout across all pages but use another layout that adds something on others?
@kapa.ai Okay I deleted my app.vue and now only have pages and nothing is loading. What am I missing? Where do I define a NuxtLayout or NuxtPage
23 replies
NNuxt
Created by Tyr4el on 12/20/2024 in #❓・help
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.ai
23 replies
NNuxt
Created by Tyr4el on 12/20/2024 in #❓・help
Syntax highlighting in postcss style blocks
Need more help. I think I'm just dumb lol
29 replies
NNuxt
Created by Tyr4el on 12/20/2024 in #❓・help
Syntax highlighting in postcss style blocks
Hm. Added one and still nothing lol
29 replies
NNuxt
Created by Tyr4el on 12/20/2024 in #❓・help
Syntax highlighting in postcss style blocks
Oh I need a PostCSS extension. Seems the available options...aren't great
29 replies
NNuxt
Created by Tyr4el on 12/20/2024 in #❓・help
Syntax highlighting in postcss style blocks
Do I need an extension like Vetur? Or are the capabilities of Vetur now handled by Volar? @kapa.ai
29 replies
NNuxt
Created by Tyr4el on 12/20/2024 in #❓・help
Syntax highlighting in postcss style blocks
No description
29 replies
NNuxt
Created by Tyr4el on 12/20/2024 in #❓・help
Syntax highlighting in postcss style blocks
What am I missing? @kapa.ai
29 replies
NNuxt
Created by Tyr4el on 12/20/2024 in #❓・help
Syntax highlighting in postcss style blocks
No description
29 replies
NNuxt
Created by Tyr4el on 12/20/2024 in #❓・help
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.ai
29 replies
NNuxt
Created by Tyr4el on 12/20/2024 in #❓・help
Syntax highlighting in postcss style blocks
Are those plugins something I need to install via npm or are they already installed @kapa.ai
29 replies