Laravel Elixir provides a simple and smooth API that allows you to define basic Gulp tasks for your Laravel application. Elixir supports many common CSS and JavaScript preprocessors and even includes testing tools. 5.0 documentation http://www.golaravel.com/laravel/docs/5.0/elixir/
gulp
发布的css
||js
是一个类似b23fasfs9da.css
的文件,这个每次打包的时候文件名都不一样,所以需要借助elixir
To get the current file namehttps://laracasts.com/series/laravel-5-fundamentals/episodes/19
Laravel Elixir provides a simple and smooth API that allows you to define basic Gulp tasks for your Laravel application. Elixir supports many common CSS and JavaScript preprocessors and even includes testing tools. 5.0 documentation http://www.golaravel.com/laravel/docs/5.0/elixir/