Load Error Handling #17560
Unanswered
pratikpatel-aurochs
asked this question in
CLI - SSR mode
Load Error Handling
#17560
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Facing issue for - When a new deployment occurs, the hosting service may delete the assets from previous deployments. As a result, a user who visited your site before the new deployment might encounter an import error.
I have tried these to add it in index.html but it doesn't work.
https://vite.dev/guide/build#load-error-handling
I managed to get it working using
But why vite:preloadError doesn't work ?
Beta Was this translation helpful? Give feedback.
All reactions