公告: 旧版文档请移步 -> http://v2.laravel-filament.cn/docs

Languages

Version

Theme

Widgets

添加 Widget 到 Blade 视图

概述

由于 Widget 是 Livewire 组件,使用 @livewire 指令你可以很容易在 Blade 视图中渲染 Widget:

<div>
@livewire(\App\Livewire\Dashboard\PostsChart::class)
</div>
Edit on GitHub

Still need help? Join our Discord community or open a GitHub discussion