I want to load css file from app/asset/css/tes.cssthis is my css file
I tried many ways but still couldn’t. Please help me
I want to access the CSS file for the lala.php in the view folder, by saving the CSS file in the assets folder
I want to load css file from app/asset/css/tes.cssthis is my css file
I tried many ways but still couldn’t. Please help me
I want to access the CSS file for the lala.php in the view folder, by saving the CSS file in the assets folder
2
Answers
Use
file_as_string()
.Example:
The problem is with your path in the controller. The correct path should be:
Or a cleaner way is: