Closed benallfree closed 6 years ago
Hi, here is a small PR to import custom directives from the default BladeCompiler. Some Laravel plugins like Ziggy add custom directives via
BladeCompiler
$this->app['blade.compiler']->directive('routes', function ($group) { return "<?php echo app('" . BladeRouteGenerator::class . "')->generate({$group}); ?>"; });
...but they are not picked up by laravel-haml because it is a separate BladeCompiler.
laravel-haml
Nevermind. Service provider positioning accomplished this.
Sorry I was right the first time, reopening.
Thanks! I tagged as 2.4.0
Hi, here is a small PR to import custom directives from the default
BladeCompiler
. Some Laravel plugins like Ziggy add custom directives via...but they are not picked up by
laravel-haml
because it is a separateBladeCompiler
.