plugin icon indicating copy to clipboard operation
plugin copied to clipboard

[Feature Request]: Support for inline Blade/HTML in Livewire components

Open m9tdev opened this issue 1 year ago • 1 comments

Feature Description

Currently my inline Livewire component looks like this:

image

It would be nice if autocomplete, highlighting, go-to definition, etc. was supported here.

m9tdev avatar Nov 21 '24 12:11 m9tdev

It may be a good practice to use a more descriptive heredoc name:

return <<<'blade'
   <a href="route('iwant.to.click.this')">A route</a>
blade;

Maybe this unlocks a way to parse the contents...

Another usecase it would be great for is testing anonymous blade components:

Image

bbredewold avatar Apr 17 '25 15:04 bbredewold