I cannot use base_url() anymore in slim4. How can I load css file stored inside my project?
odan
2
You can use base_path() and path_for()
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
|
Cannot get css or js to load in slim 4
|
3 | 2010 | August 1, 2021 | |
|
Can not load css and js file slim 4, twig
|
2 | 2396 | March 31, 2020 | |
|
Slim Twig View rendering - CSS and JS not working
|
3 | 1417 | September 14, 2020 | |
|
Base tag not working in slim
|
2 | 803 | March 14, 2019 | |
|
Slim, id, bootstrap and css
|
12 | 507 | May 10, 2024 |