Closed StrangerGithuber closed 4 months ago
Hi, I am trying to use this code in one of the module blade:
{{ asset('assets/img/bar.png') }}
However in the webbrowser I get like this:
When I click to Edit HTML in the webbrowser then I get like this:
<div class="bannerimg cover-image" style="background: url(" https:="" help.network="" assets="" img="" bar.png")="" center="" center;"="">
So the url is messed up. What can be the problem? Is it a bug or I am doing wrong something? The image which I am trying to render is in the main laravel path, it is not in the module.
Thanks in advance for the answers.
Hi, I am trying to use this code in one of the module blade:
However in the webbrowser I get like this:
When I click to Edit HTML in the webbrowser then I get like this:
So the url is messed up. What can be the problem? Is it a bug or I am doing wrong something? The image which I am trying to render is in the main laravel path, it is not in the module.
Thanks in advance for the answers.