Closed AdamGaskins closed 1 year ago
it breaks also livewire. @livewireStyles and @livewireScripts don't work with this library
I did the same like you with laravel-ray and it worked for me. thanks!
I made my own similar library that does the same thing without needing to replace the ViewServiceProvider
. We've been using it in our products at my work this year. adamgaskins/view-string
thats cool, thanks!
I installed
spatie/laravel-ray
which has a@ray()
directive for debug output, however the only way I can get this directive to work is by:spatie/laravel-ray
to mycomposer.json
'sdont-discover
:StringBladeCompilerServiceProvider
to myapp.php
directly after the standardViewServiceProvider
(and I comment it out too because it seems to be more consistent that way):RayServiceProvider
at the end of myapp.php
php artisan view:clear