feat: 后台全中文(Filament zh_CN 语言包+资源中文label)+ 插件独立导航分组 + 插件/主题管理卡片化 + 主题预览图(无头浏览器生成)+ 两套主题移动端适配
This commit is contained in:
@@ -21,6 +21,12 @@ class PostResource extends Resource
|
||||
{
|
||||
protected static \UnitEnum|string|null $navigationGroup = '内容';
|
||||
|
||||
protected static ?string $navigationLabel = '文章';
|
||||
|
||||
protected static ?string $modelLabel = '文章';
|
||||
|
||||
protected static ?string $pluralModelLabel = '文章';
|
||||
|
||||
protected static ?string $model = Post::class;
|
||||
|
||||
protected static string|BackedEnum|null $navigationIcon = Heroicon::OutlinedRectangleStack;
|
||||
|
||||
Reference in New Issue
Block a user