N
Nuxt9mo ago
gearvOsh

Auto-import of `Link` not working

I'm trying to create a Link component at components/Link, that wraps NuxtLink. The component code is very simple, but Nuxt's auto-import logic is pulling in the Link component from nuxt. Here's the snippet:
'Link': typeof import("../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected][email protected]/node_modules/nuxt/dist/head/runtime/components")['Link']
'Link': typeof import("../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected][email protected]/node_modules/nuxt/dist/head/runtime/components")['Link']
I've tried a handful of settings, but nothing has worked. Any ideas?
1 Reply
gearvOsh
gearvOshOP9mo ago
nope, was hoping to just rely on auto-imports but the nuxt one always takes precedence
Want results from more Discord servers?
Add your server