4
I’m starting with Laravel and I don’t know where to put the css files, since there is no Assets folder, as there is in Laravel 5. I need to work with version 4, because the PHP version on the server is old and I can’t change. I couldn’t find anything on Google that would help me.
And you need to call css on every page?? I usually use a 4 different css, I’ll have to call them all on every page or is there some way to call just once for the whole project?
– Amanda Lima
@Amandalima, then you could use the layout structure of the Laravel for this. You create a layout with everything you use and extend it with the view.
– Wallace Maxters
Thank you very much!!
– Amanda Lima
you can put in a file called template and on the other pages inherit it using extends, in the documentation you have all the step by step how to do:http://laravel.com/docs/4.2/templates
– Gabriel Rodrigues