tavares
4 years ago

Laravel - blade append section

Posted 4 years ago by tavares

Hi, i need to run a js script in a subview, so i have a section with all my scripts and in the subview i try to append my script to the existing scripts.

HTML PAGE:

@yield('scripts')

SECTION:

@section('scripts')

@stop

SUBVIEW:

content of subview

@section('scripts') @append

Thank's

Please sign in or create an account to participate in this conversation.