Skip to content

Website Crash #734

@valerii15298

Description

@valerii15298

Ooops :)

Image

Docs on Vite side: https://vite.dev/guide/troubleshooting#failed-to-fetch-dynamically-imported-module-error

And the fix could be as simple as: https://vite.dev/guide/build#load-error-handling

window.addEventListener('vite:preloadError', (event) => {
  window.location.reload() // for example, refresh the page
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions