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
Check the Browser screen, it says missing Register import in App.jsx, import all the required components to render.
Obviously you must have made a mistake. The console tells you that it doesn’t know
Register
. In yourApp
component, theregister
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