The assets are loaded as html which causes an error in the browser.
I followed the instructions on web server configuration, configured the .htaccess both in the root and public folder, but nothing helped.
I’m using default apache2 configuration running on Ubuntu. Is there some config I’m missing on my server in order to make it work?
I found a solution that works but I don’t think it is the best practice in Slim Framework.
I’m sure the folder structure is OK.
The problem does not seem to be with the code but with the server.
When I try to load the asset in my browser like this: http://localhost/project/public/front/vendor/bootstrap/css/bootstrap.min.css
it works.