nuxt / icon

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

icon x ag-grid #231

Closed mbertolani closed 2 months ago

mbertolani commented 3 months ago

Hi, I'm using ag-grid (https://www.ag-grid.com/) and after v2.18.0 (nuxt-ui) the icons aren't showing. I get this warning message:

[Vue warn]: Component : setup function returned a promise, but no boundary was found in the parent component tree. A component with async setup() must be nested in a in order to be rendered. at <NuxtIcon name="i-healthicons-hospital" mode=null size=null ... > at at <Link ref_for=true class="group relative flex items-center gap-1.5 focus:outline-none focus-visible:outline-none dark:focus-visible:outline-none focus-visible:before:ring-inset focus-visible:before:ring-1 focus-visible:before:ring-primary-500 dark:focus-visible:before:ring-primary-400 before:absolute before:inset-px before:rounded-md disabled:cursor-not-allowed disabled:opacity-75 px-2.5 py-1.5 w-full focus-visible:ring-inset focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400 rounded-md font-medium text-sm" active-class="text-gray-900 dark:text-white before:bg-gray-100 dark:before:bg-gray-800" ... >

"ag-grid-vue3": "^32.0.2",
"nuxt": "^3.12.4",
"@nuxt/fonts": "^0.7.1",
"@nuxt/icon": "^1.4.5",
"@nuxt/image": "^1.7.0",
"@nuxt/ui": "^2.17.0",
"@nuxt/ui-pro": "^1.3.1",
antfu commented 2 months ago

We temporarily closed this due to the lack of enough information. We could not identify whether it was a bug or a userland misconfiguration with the given info. Please provide a minimal reproduction to reopen the issue. Thanks.

Why reproduction is required