Widgets
添加 Widget 到 Blade 视图
概述
由于 Widget 是 Livewire 组件,使用 @livewire
指令你可以很容易在 Blade 视图中渲染 Widget:
<div> @livewire(\App\Livewire\Dashboard\PostsChart::class)</div>
Edit on GitHubStill need help? Join our Discord community or open a GitHub discussion