livewire / volt

Volt is an elegantly crafted functional API for Livewire.
https://livewire.laravel.com/docs/volt
MIT License
327 stars 19 forks source link

Fixing Bug in Precompiler when Blade::getPath() is null #48

Closed joaopalopes24 closed 12 months ago

joaopalopes24 commented 12 months ago

Good evening!

This bug happens if I have Volt installed in my project, and try to compile a blade string in some part of the code where the blade path will be null.

Try this in some part of the Project where the blade path is already null: Blade::compileString('<h1>Test</h1>');

Error: image