When creating new resources, actions, filters, lens and metrics, Nova will publish files using the default stub files. However, you may wish to customize these for your projects to apply common modifications automatically.
Laravel Stub Customization
To learn more about stub customization, please consult the Laravel documentation (opens new window).
# Publishing Stubs
To publish the stubs used by Nova to generate various classes, run the
php artisan nova:stubs Artisan command in your terminal. Nova will copy all of the stub files into
./stubs/nova, where you may then customize the files.
If you do not wish to customize a particular stub, you may delete the stub and Nova will continue to use the default.