Skip to content
Discussion options

You must be logged in to vote

I can actually push vite resources without issues. Just wrap the @vite directive in @push()...@endpush directives

{{-- Works --}}
@push('scripts')
    @vite('resources/js/app.js')
@endpush

{{-- This works as well --}}
@pushonce('scripts')
    @vite('resources/js/app.js')
@endpushonce

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by remotemerge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants