Now in Laravel 9 vite is the default asset builder:
https://laravel.com/docs/9.x/vite
Can you please add support to vite in this library?
Now in Laravel 9 vite is the default asset builder:
https://laravel.com/docs/9.x/vite
Can you please add support to vite in this library?
Hi @kungro , you have the possibility of publishing the package views to add such a customization. If you manage to implement the support, not conflicting with other previous feature, then you may create a pull request to include it on this package. Or you can share the changes you have done here so we can check what's need to be done on the package. I will be pleased of doing this in the future, but I'm currently out of time...
@kungro Usually, when I use this package I create a base layout for the entire web application (in
resources/views/layouts/app.blade.php
). So, to usevite
I think you may create a base layout pushing the vite blade directive into thecss
section provided by this package, as shown on the next example:Then, all your views should extend from this layout and use the sections provided by this new layout, example:
I hope this helps you!