F
Filament5mo ago
Willy

Specify a directory when creating a resource

Does anyone know if it is possible for me to specify in which directory I want the resource to be created? Inside the Resources folder I have two other folders, one Admin and one App, how can I say that I want a resource to be created in the App directory?
1 Reply
phydeaux
phydeaux5mo ago
artisan make:filament-resource Foo/Bar
artisan make:filament-resource Foo/Bar
will create the BarResource under the Foo directory