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:
<html><head></head><body></body>@yield('scripts')</html>
SECTION:
@section('scripts') <!-- my standard scripts --> @stop
SUBVIEW:
@section('scripts') <!-- my new script --> @append
i already try with @parent inside subview @section('scripts') but doesn't work.
thank's
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/29dryAk
via IFTTT
Aucun commentaire:
Enregistrer un commentaire