mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2026-05-03 12:38:19 +08:00
When a new version is deployed and old chunks are replaced, users with the old HTML in-session will encounter "Loading chunk N failed" errors on lazy-loaded routes. Add a router.onError handler to detect these failures and reload the page so the browser fetches fresh HTML and updated chunk manifests. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>