Sagar Kapoor
Sagar Kapoor
NNuxt
Created by Luc on 8/29/2024 in #❓・help
Nuxt Scripts: Google Tag Manager + Consent Management
Were you able to make the cookie consent persistent across different sessions though?
5 replies
NNuxt
Created by Luc on 8/29/2024 in #❓・help
Nuxt Scripts: Google Tag Manager + Consent Management
@Luc Thanks!
5 replies
NNuxt
Created by Sagar Kapoor on 10/30/2024 in #❓・help
Nuxt SiteMap
@kapa.ai You can either prerender these pages and they'll be discovered automatically or setup an endpoint which returns them How to do this?
14 replies
NNuxt
Created by Sagar Kapoor on 10/30/2024 in #❓・help
Nuxt SiteMap
@kapa.ai How do I configure Nuxt sitemap to index static file-based dynamic pages located in my pages directory without using an API?
14 replies
NNuxt
Created by Sagar Kapoor on 10/19/2024 in #❓・help
How to password protect a site?
Thanks a lot!
3 replies
NNuxt
Created by magius on 10/1/2024 in #❓・help
Error @nuxtjs/mdc on reload
I am using pnpm instead of npm and this solution is still working!
23 replies
NNuxt
Created by magius on 10/1/2024 in #❓・help
Error @nuxtjs/mdc on reload
PS: Thanks, it works perfectly!
23 replies
NNuxt
Created by magius on 10/1/2024 in #❓・help
Error @nuxtjs/mdc on reload
Thanks, a quick question, will MDC be able to render Markdown content in a stringified form?
23 replies
NNuxt
Created by magius on 10/1/2024 in #❓・help
Error @nuxtjs/mdc on reload
I am receiving the same issue!
23 replies
NNuxt
Created by Sagar Kapoor on 9/6/2024 in #❓・help
Responsive Header Menu
From what I read it is not a good practice to change anything in the Body element like I am doing in the above code.
3 replies
NNuxt
Created by Sagar Kapoor on 9/6/2024 in #❓・help
Responsive Header Menu
Should I use teleport to solve this issue?
3 replies
NNuxt
Created by Sagar Kapoor on 8/25/2024 in #❓・help
Getting error when running ESLint & Prettier"Disallow self-closing on HTML void elements (<img/>)"
All right, this is something that is an issue with how Prettier is opinionated. Nothing can be really done about it. Apart from configuring ESLint to ignore this warning if I want to continue using Prettier.
2 replies
NNuxt
Created by Sagar Kapoor on 8/17/2024 in #❓・help
How to dynamically render images in Nuxt3
So, how should I render the images in the assets folder? I am able to render it like this <img src="~/assets/icons/customers.svg" :alt="item.title" /> But not when I want to render it dynamically
7 replies
NNuxt
Created by Sagar Kapoor on 8/17/2024 in #❓・help
How to dynamically render images in Nuxt3
Is it because it uses Vite?
7 replies
NNuxt
Created by Sagar Kapoor on 8/17/2024 in #❓・help
How to dynamically render images in Nuxt3
Nuxt is not able to find the image for some reason.
7 replies
NNuxt
Created by Sagar Kapoor on 8/17/2024 in #❓・help
How to dynamically render images in Nuxt3
But the src property is not working as I had hoped it would.
7 replies
NNuxt
Created by Sagar Kapoor on 7/15/2024 in #❓・help
I want to have a logo as a link, how should I go about it?
So is it advisable to use the NuxtImg component each time there is a requirement for images?
4 replies
NNuxt
Created by Sagar Kapoor on 7/15/2024 in #❓・help
I want to have a logo as a link, how should I go about it?
<template>
<NuxtLink to="/">
<NuxtImg src="/path/to/your/logo.png" alt="Logo" />
</NuxtLink>
</template>
<template>
<NuxtLink to="/">
<NuxtImg src="/path/to/your/logo.png" alt="Logo" />
</NuxtLink>
</template>
Is this a good approach?
4 replies