Customize your Nitro app with a configuration file!

In order to customize nitro's behavior, we can use nitro.config.

It is powerful enough that all deployment providers are built on the same options API!!

Create a new nitro.config.ts file to provide options:

// nitro.config.tsimport { defineNitroConfig } from 'nitropack'export default defineNitroConfig({})
More Features Available!
Nitro handles configuration loading using unjs/c12. You have more advanced possibilities such as using .env. And .nitrorc.