Answer the question
In order to leave comments, you need to log in
How to merge two sections at once from two different Laravel Blade files?
There are three files.
The first is app.blade.php: it has yield('scripts')
The second is modals.blade.php: a file with modal windows, it has a scripts section, which already has:
Third - index.blade.php: a file the main page, it also has a scripts section, which already says:
The problem is that one section interrupts another, and it turns out that the scripts section from the main page interrupts the scripts section from modal windows
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question