My Tauri app only displays blank screen after building for production, and some requests returns "No data found for resource with given identifier":
Reproduction
I'm using Nuxt + Vite as my frontend framework, and I found that the screen is blank after building for production. Then I turned on "devtools" feature in my Cargo.toml, and tried to debug in production. I found that some files cannot be correctly loaded, like the image below:
And I found all files requested by index.html and with tag not correctly returned, the status code was 200 OK, but no data was returned.
So I tried to change one tag with Githubissues.
Githubissues is a development platform for aggregating issues.
Describe the bug
My Tauri app only displays blank screen after building for production, and some requests returns "No data found for resource with given identifier":
Reproduction
I'm using Nuxt + Vite as my frontend framework, and I found that the screen is blank after building for production. Then I turned on "devtools" feature in my Cargo.toml, and tried to debug in production. I found that some files cannot be correctly loaded, like the image below:
And I found all files requested by
index.html
and with tag not correctly returned, the status code was 200 OK, but no data was returned. So I tried to change one tag with Githubissues.