Support the ongoing development of Laravel.io →
Views Validation
Last updated 2 years ago.
0

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
Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

prgmsaha prgmsaha Joined 20 May 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.