We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The @viteReactRefresh directive crashes the application when withoutVite is used during testing.
@viteReactRefresh
withoutVite
Error message: Call to undefined method Closure::reactRefresh() (View: /Users/muhammedsari/Sites/redacted/resources/views/app.blade.php)
Call to undefined method Closure::reactRefresh() (View: /Users/muhammedsari/Sites/redacted/resources/views/app.blade.php)
Add the directive combo to your template
@viteReactRefresh @vite('resources/js/platform.jsx')
Call $this->withoutVite() in your TestCase::setUp() method.
$this->withoutVite()
TestCase::setUp()
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Description:
The
@viteReactRefresh
directive crashes the application whenwithoutVite
is used during testing.Error message:
Call to undefined method Closure::reactRefresh() (View: /Users/muhammedsari/Sites/redacted/resources/views/app.blade.php)
Steps To Reproduce:
Add the directive combo to your template
Call
$this->withoutVite()
in yourTestCase::setUp()
method.The text was updated successfully, but these errors were encountered: