Nova getting started added

This commit is contained in:
Benjamin Takats
2022-12-01 12:02:10 +01:00
parent ba07dca294
commit 37695943ef
33 changed files with 1090 additions and 16 deletions

View File

@@ -10,6 +10,8 @@ use Laravel\Nova\Fields\BelongsToMany;
class Course extends Resource
{
/**
* The model the resource corresponds to.
*
@@ -33,6 +35,11 @@ class Course extends Resource
'id',
];
public static function label()
{
return __('Courses');
}
/**
* Get the fields displayed by the resource.
*