Answer the question
In order to leave comments, you need to log in
How to include css and js in Blade, Laravel 5.1.23?
How to include css and js in Blade template? Where should css and js be by default? Where do constructions like {{ URL::asset('css/css.css'); }}? This construction doesn't work {{ HTML::style('css/css.css'); }}
Answer the question
In order to leave comments, you need to log in
{{ URL::asset('css/css.css'); }} leads to /public/css, {{ URL::asset('js/main.js'); }} leads to /public/js, in fact, css and js should be added there, respectively. Thank you all, it turned out to be quite simple.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question