arsenaltech/nova-header
Composer 安装命令:
composer require arsenaltech/nova-header
包简介
A Laravel Nova field.
README 文档
README
Custom Nova field to add field header when using tabs https://github.com/arsenaltech/nova-tab
Installation
Install the package into a Laravel app that uses Nova with Composer:
composer require arsenaltech/nova-header
Usage
Add the field to your resource in the fields method:
new NovaTab('User Information', [ NovaHeader::make('Example Title'), Text::make('Name') ->sortable() ->rules('required', 'max:255'), Text::make('Email') ->sortable() ->rules('required', 'email', 'max:255') ->creationRules('unique:users,email') ->updateRules('unique:users,email,{{resourceId}}')]), new NovaTab('Address Information', $this->addressFields()), new NovaTab('Other Information', $this->otherFields()),
统计信息
- 总下载量: 7.18k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 10
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-10-09