Elixir + Gulp + Laravel with differents JS inclusions depending on URL
问题 I'd like to begin use Elixir + Gulp. In my project, I just use CSS + JS. Today, I use it like that: I have a dashboard.blade.php that I include in all files. Then, I have a conditional include for each libs depending on the page: @if (Request::is("tournaments") || Request::is("invites")) {!! Html::script('js/plugins/tables/footable/footable.min.js') !!} @endif @if (Request::is("tournaments/create")) {!! Html::script('js/plugins/forms/inputs/duallistbox.min.js') !!} {!! Html::script('js