Register Service Provider

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 :slight_smile:

P.

In the event you’re using Sage 10, you can simply:

1 Like

This topic was automatically closed after 42 days. New replies are no longer allowed.