Remove routes for modals or use --simple?
Good afternoon, I have a question. To create a simple resource with modals, I know that you use
php artisan make:filament-resource Customer --simple
, but initially, I created the resource with the default pages for edit and create. Now I realize that I actually wanted a modal and did the following: removed the routes:
Now they are modals, but my question is: is this approach really okay? Would there be any issues with this method, or should I use --simple
? I noticed that --simple
creates a slightly different structure, only creating a management page in the resources folder.1 Reply
What you have done is the documented method. So should be fine
https://filamentphp.com/docs/3.x/panels/resources/getting-started#deleting-resource-pages