-
Notifications
You must be signed in to change notification settings - Fork 634
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Icons not rendered with icons: all
#1237
Comments
Seeing this same issue. |
Having the same issue, trying to use |
Same issue, nuxt version:3.9.1 and ui version:2.12.0 |
This might have something to do with https://github.com/egoist/tailwindcss-icons/releases/tag/v1.7.0 and specifically egoist/tailwindcss-icons@b53dde9. I did the migration when it was released but I might have missed something. Will look into it! |
I checked the code and yeah this might be the issue. Also it says this in the README usage code snippet
So I thought If I removed the Thanks for looking into it 🙏 |
Still not sure how to solve this, but I've opened an issue: egoist/tailwindcss-icons#38. |
I've tried to fix it the other day and IIRC I knew where the problem was (I didn't push a fix as you said you'll look into it, not sure If I should've done that 😅). I'll try to look at it again |
This is what I've found, the egoist plugin works like this
Our problem happens when enabling all collections with
Previously it injected all the collections if 'all' is passed here as you stated. At that time, Possible solution is pass the available collections if 'all' is passed. We can import those from |
Not sure to understand why the plugin fallbacks to The issue is |
We're passing an empty options object, which means we pass But even if we pass an empty array, it'll compare that against First one is keeping an internal copy of the The other is searching for |
@hyoban Thanks! |
@MuhammadM1998 I guess we should revert this then 4dee128#diff-030fc083b2cbf5cf008cfc0c49bb4f1b8d97ac07f93a291d068d81b4d1416f70L146, what do you think? |
Environment
Version
v2.12.0
Reproduction
https://stackblitz.com/edit/nuxt-starter-aet6xx?file=nuxt.config.ts
Description
EDIT: After searching for a solution on Discord, it appears the error occurs after Nuxt 3.9
Enabling all icons doesn't work. I have to specify icon collection.
ui.icons: 'all'
Additional context
I've also tried with
2.11.1
,2.11.0
,2.10.0
, and2.9.0
. Same problemLogs
No response
The text was updated successfully, but these errors were encountered: