Skip to content
Discussion options

You must be logged in to vote

Laravel plugin blade reload conflicts with this plugin, because it calls a full reload during livewire hot reload

The reason is that often you have livewire components that include blade components

To solve this, the last version of livewire plugin implements an opt-in full reload that adds a small checkbox on the bottom right corner of the page that allows you to switch between livewire hot reload and full page reload (handled by livewire plugin) when a blade file changes

So you should disable laravel refresh and enable livewire opt-in refresh by adding an VITE_LIVEWIRE_OPT_IN=true entry in your .env file

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
1 reply
@Random72IsTaken
Comment options

Comment options

You must be logged in to vote
5 replies
@Random72IsTaken
Comment options

@fabio-ivona
Comment options

@fabio-ivona
Comment options

@fabio-ivona
Comment options

@fabio-ivona
Comment options

Answer selected by Random72IsTaken
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
Converted from issue

This discussion was converted from issue #11 on July 31, 2022 21:29.