nuxt / icon

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

Import ref, computed & watch from vue instead of #imports #76

Closed turulix closed 1 year ago

turulix commented 1 year ago

Changing the Imports for ref computed and watch to be imported from vue directly instead of #imports reason for this change is, that for me, webstorm fails to detect the type of a ref when used with nuxt3's auto import.

I manually disabled the implicit imports for vue sadly this has the side effect, that they no longer are available from #imports causing this to break, importing them direcly from vue fixes this issue :)

Would apreciate it alot if this gets merged :D

what-the-diff[bot] commented 1 year ago

PR Summary