Tailwind Component Resource
Imagine you have an "ArticleResource" class which by default a default name of "Article", in order to change to a friendly name, you can specify the "label" like below.
<?php namespace App\Nova; use Illuminate\Http\Request; class ArticleResource extends Resource { # your other codes here public static function label() { return 'All Article'; } # your other codes here }
app/Nova/Resource.php
Leave a reply