I have 2 parts in my main layout: @yield('styles') @yield('scripts')
In the other template files which extended the main layout,
I use @section('styles') and @section('scripts')
When I am loading partial views, all the styles in the 'styles' sections are loading well. But, about the scripts, only the first partial view's scripts are loading and for the others, it ignores them.
Any Idea or experience before?