#weir behaviour of Vue in dev: white screen when router change route (android)

5 messages · Page 1 of 1 (latest)

warm cypress
#

Hello everyone , I encountered a small issue.
I am developing a small app using tauri + vue on android.

I am using the vue router to change my page but when I am in dev there is always a white screen when transitioning betwenn pages even though some components are the same ( the background for example).

I was wondering if anyone else had the same issue or if it is a well known issue.

I not a problem for developing my app but still annoying not to see the real result

mystic ingot
#

this kinda sounds like the webview background color shining through while vite reloads the changed files. If this also happens for previously loaded routes then no idea 🤷
did you set the color of the body / root to something that's not white or transparent?

warm cypress
#

Sorry i was not realy clear , my issue is not when reloading my files , the issue is when i change navigate with router.push for exemple.

The issue is only in dev when i build the app and donwload it on my phone i dont have the issue anymore

#

i didn't change the background of the body

#

and yes when i comeback to page already loaded i still have the issue