skip to Main Content

In my ‘Vite+React’ app, after editing the files with my content, the HTML content is not showing. It just shows a blank white page on my browser screen.
Browser screen:
Navbar.jsx
Main.jsx
App.jsx

Tried and checked everything. Maybe I’m missing something. Please help me!

2

Answers


  1. Check the Browser screen, it says missing Register import in App.jsx, import all the required components to render.

    Login or Signup to reply.
  2. Obviously you must have made a mistake. The console tells you that it doesn’t know Register. In your App component, the register route uses a component that you forgot to import. Import it and it should work.

    Also, I advise you to install all the VSCode extensions allowing you to spot these errors directly

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search