nuxt / icon

The <Icon> component, supporting Iconify, Emojis and custom components.
https://stackblitz.com/edit/nuxt-icon-playground?file=app.vue
MIT License
930 stars 52 forks source link

Why `components/global` exactly? #60

Closed dvlden closed 1 year ago

dvlden commented 1 year ago

Can't we define where we'll be storing those custom icon components in our project? This sounds more sane components/icons... I looked at the source, but I found nothing that defines this path.

So could be that I'm blind, or this global directory is something that Nuxt handles?

Kind regards.

atinux commented 1 year ago

I defined it as global (Nuxt feature) so you can use it directly in the Markdown or with Dynamic components.