mercredi 23 août 2017

Dynamically generate asset on demand in Laravel 5.4

Using Laravel 5.4, how do I programmatically generate compiled JS/CSS file(s) with inputs being a list of JS/CSS files (located under resources\assets)?

In other words, I want to be able to compile asset and get the output of it on-demand. A good example of this is the Customize and Download feature of bootstrap (http://ift.tt/2wFGCAe), where based on your selection of which plugins to include, you'll get a different compiled file.

(Note that I am aware of Laravel Mix. But that doesn't seem to be what I can use in this case altogether)



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2vgSCF2
via IFTTT

Aucun commentaire:

Enregistrer un commentaire