Skip to content

Commit

Permalink
fix(doc): nitro nuxt config
Browse files Browse the repository at this point in the history
  • Loading branch information
roiLeo committed Nov 24, 2023
1 parent e554f2b commit 59092ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/1.getting-started/10.deployment.md
Expand Up @@ -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`:
Expand Down

0 comments on commit 59092ee

Please sign in to comment.