diff --git a/docs/1.getting-started/10.deployment.md b/docs/1.getting-started/10.deployment.md index 3fa66525604c..acc2087756d0 100644 --- a/docs/1.getting-started/10.deployment.md +++ b/docs/1.getting-started/10.deployment.md @@ -151,11 +151,11 @@ In addition to Node.js servers and static hosting services, a Nuxt 3 project can You can explicitly set the desired preset in the [`nuxt.config.ts`](/docs/guide/directory-structure/nuxt-config) file: ```js [nuxt.config.ts] -export default { +export default defineNuxtConfig({ nitro: { preset: 'node-server' } -} +}) ``` ... or use the `NITRO_PRESET` environment variable when running `nuxt build`: