in layout
<script src="{{ URL::asset('assets/js/jquery-1.11.1.js') }}"></script>
<script src="{{ URL::asset('assets/js/bootstrap.min.js') }}"></script>
@yield('downScript')
</body>
</html>
in views
@section('downScript')
<script>
Your script
</script>
@stop
or
@section('downScript')
<script src="{{ URL::asset('assets/js/you_script.js') }}"></script>
@stop
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community