Hello there, I'm using Laravel 10.10, and package 2.1.
I have my logo on public/ folder, just there.
This is my function:
private function generateLogo()
{
return "<img src='{{public_path('./pathful-logo') }}' alt='pathful-logo' class='logo' />";
}
I used public_path(), base_path(), with and without {{ }}.
Hello there, I'm using Laravel 10.10, and package 2.1.
I have my logo on public/ folder, just there. This is my function: private function generateLogo() { return "<img src='{{public_path('./pathful-logo') }}' alt='pathful-logo' class='logo' />"; }
I used public_path(), base_path(), with and without {{ }}.