mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 05:35:13 +00:00
Co-authored-by: Chris Lloyd <chris.yagro.com>
This commit is contained in:
parent
74ce29b329
commit
643641d489
@ -21,7 +21,7 @@ export default {
|
||||
Or directly use the `NITRO_PRESET` environment variable when running `nuxt build`:
|
||||
|
||||
```bash
|
||||
NITRO_PRESET=lambda npx nuxt build
|
||||
NITRO_PRESET=aws-lambda npx nuxt build
|
||||
```
|
||||
|
||||
::alert
|
||||
|
@ -28,7 +28,7 @@ export default {
|
||||
Or directly use the `NITRO_PRESET` environment variable when running `nuxt build`:
|
||||
|
||||
```bash
|
||||
NITRO_PRESET=server npx nuxt build
|
||||
NITRO_PRESET=node-server npx nuxt build
|
||||
```
|
||||
|
||||
## Entry point
|
||||
|
@ -24,7 +24,7 @@ You can use the [Nuxt config](/guide/directory-structure/nuxt.config) to explici
|
||||
```js [nuxt.config.js|ts]
|
||||
export default {
|
||||
nitro: {
|
||||
'browser-worker'
|
||||
'service-worker'
|
||||
}
|
||||
}
|
||||
```
|
||||
@ -32,7 +32,7 @@ export default {
|
||||
Or directly use the `NITRO_PRESET` environment variable when running `nuxt build`:
|
||||
|
||||
```bash
|
||||
NITRO_PRESET=worker npx nuxt build
|
||||
NITRO_PRESET=service-worker npx nuxt build
|
||||
```
|
||||
|
||||
## Entry point
|
||||
|
Loading…
Reference in New Issue
Block a user