The @once directive allows you to define a portion of the template that will only be evaluated once per rendering cycle.
24 Remaining@once
@push('scripts')
<script>
// Your custom JavaScript...
</script>
@endpush
@endonce
Tip: Documentation links and some explanations will appear when you complete the quiz.
Permalink: https://rappasoft.com/quizzes/laravel/blade-templates/4f9779bf-cabd-49f8-845b-ef27b6085ceb
Find this useful? Consider sponsoring me on GitHub
You can also get here with laravel-quizzes.com