Closed riadloukili closed 8 years ago
@riadloukili Thanks :+1:
Any documentation on how to create new extension? Thanks
It's as simple as 1-2-3, just checkout this question http://stackoverflow.com/questions/13002626/laravels-blade-how-can-i-set-variables-in-a-template and you'll figure it out.. Basically, call extend method on blade instance. 😅
@ptraceur It's often better to use the directive() approach to add extra functionality
Thanks to both 😄
Ability to add extensions to compiler through extend() method