# Stubs

# Overview

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, see the Laravel docs (opens new window).

# Publishing Stubs

To publish the stubs used by Nova to generate the different classes, run php artisan nova:stubs. 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 stub, you may delete it and Nova will continue to use the default.

Last Updated: 10/26/2020, 6:59:37 PM