Closed rafailml closed 7 years ago
Hello @rafailml,
This is a strange behaviour.
You may try to rebuild your blade cache with artisan view:clear
and check again.
What version of the package are you using? (Use composer show
to get installed packages versions).
Same result after artisan view:clear . But this morning I have href="/css/style.css" Package version is: igaster/laravel-theme v2.0.4 Laravel: 5.4 with Spark MAMP Pro, apache PHP: 7.0.20
You should use the {!! Theme::css("css/style.css") !!}
syntax. You do not want to escape the html code. This is probably the reason that safari moves it to the body...
Thanks @igaster !!! That's working.
:-)
Updated the docs to make it clear!
Hi there! First thank you for the project. Very useful, but I have a problem:
My blade code is:
And browser (Safari) shows:
Somehow it puts the output in the body as text and also notice that href is empty.
What I'm doing wrong?