Hello,
I would like to register SpacelessBladeProvider to use @spaceless tag: https://github.com/Hedronium/SpacelessBlade
Do you know if I can do this?
Thanks!
Hello,
I would like to register SpacelessBladeProvider to use @spaceless tag: https://github.com/Hedronium/SpacelessBlade
Do you know if I can do this?
Thanks!
Hi @DreamOn,
I don’t know of a way to register a Laravel service provider with Sage, but I think you could manually port the spaceless
and endspaceless
directives to your app/setup.php
:
The code is pretty straightforward :
Have fun
P.
In the event you’re using Sage 10, you can simply:
composer require hedronium/spacelessblade
hedronium\SpacelessBlade\SpacelessBladeProvider::class
to https://github.com/roots/sage/blob/10.0.0-dev/config/app.php#L122-L131
This topic was automatically closed after 42 days. New replies are no longer allowed.