-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
Nuxt 3.13.1+ breaks Ionic styles #616
Comments
I was able to dirty fix this issue by editing @ionic/vue/dist/index.js. The fix is to move every |
I've the same issue, I tried @jakubkoje fix but it doesn't work. |
Weird, this is example of my edited IonBackButton. Do not forget to remove node_modules/.cache after editing the module and restart server afterward. Also, do not forget that the node modules are refreshed every install. I am currently handling this using patch-package library, even though forking ionic package might be the better way.
|
I did it for every component but it doesn't work.
- "nuxt": "^3.13.1",
+ "nuxt": "3.12.4",
|
This is likely to be linked to Vue 3.5+. Can you reproduce on an earlier Nuxt with the latest Vue version? |
@danielroe here's a repro
as you can see, things work just fine, it's unlikely to be vue imo |
I'm having the same issue as well. It's happening in the browser while on dev mode, but not after converting my app for Android. Setting Nuxt's version to |
Adding the following to nuxt.config.ts worked for me.
|
🐛 The bug
After upgrading Nuxt to 3.13.1+, I noticed that Ionic components have a class of "undefined" instead of the correct Ionic classes. This causes the entire app to break due to incorrect CSS styles. (This can be observed for example on
<ion-app>
and<ion-tab-bar>
).🛠️ To reproduce
https://stackblitz.com/edit/github-qjn2d7?file=package.json
🌈 Expected behaviour
Classes should not be undefined.
ℹ️ Additional context
The text was updated successfully, but these errors were encountered: