In Laravel pacakage development, the asset()
function is not working. How can I properly use it? I also need to get the URL path of the public folder.
In Laravel pacakage development, the asset()
function is not working. How can I properly use it? I also need to get the URL path of the public folder.
2
Answers
Go .env File
Using Config Path
you can use
or
use laravel helper function:
}