Skip to content

The error page breaks HMRΒ #2511

@fortezhuo

Description

@fortezhuo

Description

How to reproduce :

  1. Create a Vike project using bati.
  2. In pages/index.tsx, add a space in the <h1> tag (e.g., change <h1> to <h 1>) to trigger an error.
Image

It looks good; all errors are correctly displayed.

  1. Revert <h 1> back to <h1>.
  2. Do the same for the <Counter> component (e.g., change it to <Coun ter>).
Image

It would be great if the error could be handled in the same way, using Vite's built-in error page.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions