laravel asset
// To access laravel assets
asset('sp-icon/Vodacom-Original.svg')
// To echo the value use braces
{{ asset('you-are-in-public/your-file-name') }}
laravel asset
// To access laravel assets
asset('sp-icon/Vodacom-Original.svg')
// To echo the value use braces
{{ asset('you-are-in-public/your-file-name') }}
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
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us