Error Description:
When running the command "npm run dev" to start the server and then accessing the link http://localhost:5173/, the page takes approximately 6 to 10 seconds to load and the following message is displayed in the console:
Note that the message is repeated many times in the console.
<img src="https://i.ibb.co/k5BkhYw/aa1.png">
To integrate Metronic into the project (React+Vite+Typescript), the documentation detailed in the following link has been followed: https://keenthemes.com/metronic/tailwind/docs/getting-started/integration/react
The error seems to be related to this point defined in the documentation:
<img src="https://i.ibb.co/945V3vf/aa2.png">
Which has been configured according to the guide.
"Thanks for starting this discussion! Frontend projects with React, Vite, and TypeScript offer such a powerful combination for speed and type safety. If you’re working on building your CV to reflect these kinds of projects and want to stand out more, consider getting professional CV help. It’s a solid resource for showcasing these in-demand skills effectively. Excited to hear how others have used this stack!"
Hi,
Please check the latest Metronic v9.1.0 update and get the official React version of Metronic 9 with all the HTML features fully implemented in the React way.
Preview all React version demos here
Regards,
Sean