Answers for "set css img path in laravel"

CSS
0

laravel image path

You have to put all your assets in app/public folder, and to access them from your views you can use asset() helper method.

Ex. you can retrieve assets/images/image.png in your view as following:

<img src="{{asset('assets/images/image.png')}}">

this answer is from stack-overflow
by->Walid Ammar
Posted by: Guest on September-29-2021
0

laravel css image url

.mystyle {
     background-image: url("../assets/img/background.png") 
 }
Posted by: Guest on August-10-2021

Browse Popular Code Answers by Language