Open Neptunium1129 opened 1 year ago
Is there an alternative to the "Failed to fetch dynamically import problem" issue in Vite + Svelte environment?
example )
router.onError((error, to) => { if (error.message.includes('Failed to fetch dynamically imported module') || error.message.includes("Importing a module script failed")) { window.location = to.fullPath } })
external communities is that it is better to handle it in the router.
I am not sure I understand, sorry. Could you share some more details on the error?
Is there an alternative to the "Failed to fetch dynamically import problem" issue in Vite + Svelte environment?
example )
external communities is that it is better to handle it in the router.