Answer the question
In order to leave comments, you need to log in
How to include css and js in blade, Laravel 7?
How to include css and js in blade template? Where should css and js be by default if you are working with a template? This construction doesn't work "{{ URL::asset('js\jsssss.js') }}"
Answer the question
In order to leave comments, you need to log in
Choose any option.
<script src="{{ asset("js/jsssss.js") }}"></script>
<script src="{{ URL::asset("js/jsssss.js") }}"></script>
<script src="/js/jsssss.js"></script>
<link rel="stylesheet" href="{{ asset("css/csssss.css") }}">
<link rel="stylesheet" href="{{ URL::asset("css/csssss.css") }}">
<link rel="stylesheet" href="/css/csssss.css">
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question