docs: add note to use nuxt with bridge if nitro is false (#21586)

This commit is contained in:
wattanx 2023-06-16 02:44:13 +09:00 committed by GitHub
parent de5c758766
commit 3c88b50bbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,6 +78,10 @@ Nuxt 3 introduced the new Nuxt CLI command [`nuxi`](/docs/api/commands/add). Upd
} }
``` ```
::alert
If `nitro: false`, use the `nuxt` command.
::
### Static Target ### Static Target
If you have set `target: 'static'` in your `nuxt.config` then you need to ensure that you update your build script to be `nuxi generate`. If you have set `target: 'static'` in your `nuxt.config` then you need to ensure that you update your build script to be `nuxi generate`.