-
-
Notifications
You must be signed in to change notification settings - Fork 779
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
Icon not visible after build on nuxt3, ok in dev mode since last version v0.45.30 #1782
Comments
Can you provide a minimal repo? it works well in my local. |
Sorry I made a mistake on my description. I am in rc11 of nuxt3. |
If there is no problem and it works fine, please close it. Or not, i will reopen it. |
Seems to work fine on https://github.com/antfu/vitesse-nuxt3 Can any one provide a reproduction repo? |
@antfu it's working fine because you disabled inlineSSRStyles here https://github.com/antfu/vitesse-nuxt3/blob/main/nuxt.config.ts#L10 |
It's a bug we are investigating on Nuxt. |
yes, I understand that, but it's blocking correct behavior of UnoCSS including icons rendering |
In that sense, I would consider this not a bug of UnoCSS. Please track on nuxt/nuxt#15213 instead. |
After upgrade in v0.45.30 icon are not visible on my project after build.
I can reproduce it with a fresh install of Nuxt3
RC12RC11Add @unocss/nuxt nuxt module and @iconify-json/mdi collection
npm i @unocss/nuxt @iconify-json/mdi
My nuxt.config.ts
My app.vue
All run well with :
npm run dev
But icon is not visible after build
npm run build
with :
npm run preview
The text was updated successfully, but these errors were encountered: