Hi, 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.
I apologize for the delay and any inconvenience this has caused you.
Vite integration for Metronic may be challenging because Metronic is a complex web application with a large codebase and many components. Vite is a relatively new build tool and may not have the same level of community support and documentation as more established tools like Webpack. Additionally, integrating Vite with a large and complex project like Metronic may require significant changes to the existing codebase and may involve compatibility issues with other dependencies. Overall, the process of integrating Vite with Metronic is likely to require a significant investment of time and resources to ensure that it is done correctly and with minimal disruption to existing functionality.
In the meantime, please let us know if you have any further questions or concerns.