Integrate Metronic with Laravel 9 Vite
I've set up a new Laravel project which uses Vite as standard.
I tried to integrate Metronic but there are many errors.
The biggest problem is that the require does not work anymore. I tried to replace with import but that won't work because the order is not correct (KTUtil etc. are missing in other imports).
Is there a guide for that?
I've used the html template and I am only using a monolith Laravel application (without vue or other frontend frameworks).
We have a plan to create a new Laravel version with Vite in the future. Currently, we do not have a guide to integrating with Vite yet. The best way, for now, is to integrate the final bundle css/js from the HTML version.
Hi, have a possible release date for the new version of Laravel + Vue with Vite and Inertia?
thank you for the reply.
If it still won't work after my tests I'm going to use your solution.
We have no exact date to release the Laravel+Vite yet. But it is a high priority now. We expect to include it in the next release soon.