🖥️Views
inside your resource use this method to tell the form that it will be a page not a modal
public function form(): FormComponent
{
return FormComponent::make('page');
}
after that use this command to generate your views
php artisan vilt:views
i will ask you about table name and module name you when to put this table on it
it will generate 3 views for use on the Resources/views
, you can custom it as you like.
Last updated