Laravel Vue Compilation Issues
Longtime metronic owner here, god I just love this theme.
I have been trying to install the Vue version into laravel, following the documentation, but I am encountering several issues.
1.) The build is EXTREMELY SLOW - Like for the stock, nothing custom it is taking 15+ Minutes, sometimes longer before #2 below happens... I am not on a resource-limited machine and this issue is only when I try to compile metronic.
- I've removed and reinstalled the node_modules many times
- I even tried on a fresh laravel project, Could not get it to compile either and was very slow
2.) Then even worse than waiting for it to compile, it errors. But I don't understand the error because I followed the documentation. I must admit when it comes to frontend technologies I am not as knowledgeable as I am with the backend so I don't even really know how to go about debugging this.
If anyone has any knowledge of how to fix this, would be appreciated.
Compiled with some errors in 28.61m
Yes there is a problem, mix task bundles all the Vue files and it takes a while, we will check this problem and fix it in upcoming releases.
For now, you can consider using a different approach from the tutorial below.
You can also try to keep a Vue as a separate instance and then write API using Laravel.
Check the tutorial below.
Keenthemes Support Team