O Laravel 8 inclui JavaScript na lâmina

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