Laravel 8 включает JavaScript в Blade

@section('scripts')
   <script src="{{ asset('js/partials.js') }}"></script>
@endsection
Snippets