laravel-elixir-aglio
This is a wrapper around gulp-aglio for Laravel Elixir.
Install
npm install --save-dev laravel-elixir-aglio
Usage
Example Gulpfile:
var elixir = ; ; ;
Src
This will scan your resources/assets/_md/
directory for all files. Instead you can choose a custom location:
mix;
This will scan your resources/assets/markdown
directory for .md
files.
For overriding the resources/assets
part, create a elixir.json
and change the assetsDir
(do not forget the trailing slash):
"assetsDir": "resources/assets/"
Output
This will output the processed files to resources/views/blueprint
. If you'd like to output to a different directory then you may override this as well:
mix;
Options
On the third argument you could pass gulp-aglio options and a different extension
(the default one is php
).
mix;
Laravel
Route::get('/blueprint/api', function () { return View::make('blueprint.api') });
License
Laravel Elixir Aglio is open-sourced software licensed under the MIT license