@foreach ($assets as $asset)
  @if (isset($asset->script))
    <script type="text/javascript" src="{{$asset->script}}"></script>
  @endif
@endforeach

<script type="text/javascript" src="{{$urls->assets->scripts}}/main.js"></script>

@stack('scripts')
