Nuxt 2.15.3 breaks Capacitor causing blank screens #4360
-
I am trying to upgrade my app to Nuxt 2.15.3 from 2.13.0. Long story short, just upgrading Nuxt causes a blank screen and I have no idea why. I checked the logs between the two versions and they hardly change. The only difference I could find in the logs were my console.logs for when the page mounted and this line:
This is happening on both Android and iOS. I was going to submit a bug report but when I went to reproduce it in a new app, Nuxt and Capacitor work just fine. I even went through and added all the dependencies I had in my app to the test app and it still didn't break. Here are my capacitor dependencies:
Note: I did try the newest versions of all of them and that didn't fix it. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I've figured out the problem. We have 2 index pages, one for logged in users and one for logged out users. We used nuxts router to route the index page to be one of those two as needed, but that meant there was no "index.html" page. That use to be fine but apparently nuxt doesn't do that anymore so a default index page appears to be required. |
Beta Was this translation helpful? Give feedback.
I've figured out the problem. We have 2 index pages, one for logged in users and one for logged out users. We used nuxts router to route the index page to be one of those two as needed, but that meant there was no "index.html" page. That use to be fine but apparently nuxt doesn't do that anymore so a default index page appears to be required.