NuxtN
Nuxt7mo ago
8 replies
Kérunix

Use Icon from @nuxt/icon in my own Nuxt module

I'm developping a module to use as a component library for multiple projects of a client and I need it to feature icons. I used installModule('@nuxt/icon') in my module's module.ts, but when using <Icon> in the components from my module, I face an error. How am I supposed to import components from an other module into my own module's code ?
Was this page helpful?