-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
I would like use simple components in my Blade views:
So in BookController.php it could look like this:
public function __invoke(): View
{
$builder = new LaravelHeatmapBuilder(arrayAccessIndex: "read_at");
$result = $builder->build(Book::class);
return view("books")->with("heatmap", $heatmap);
}And in book.blade.php like this:
<x-heatmap:heatmap :heatmap=$heatmap></x-heatmap>Metadata
Metadata
Assignees
Labels
No labels