mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 21:55:11 +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`:
|
Or directly use the `NITRO_PRESET` environment variable when running `nuxt build`:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
NITRO_PRESET=lambda npx nuxt build
|
NITRO_PRESET=aws-lambda npx nuxt build
|
||||||
```
|
```
|
||||||
|
|
||||||
::alert
|
::alert
|
||||||
|
@ -28,7 +28,7 @@ export default {
|
|||||||
Or directly use the `NITRO_PRESET` environment variable when running `nuxt build`:
|
Or directly use the `NITRO_PRESET` environment variable when running `nuxt build`:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
NITRO_PRESET=server npx nuxt build
|
NITRO_PRESET=node-server npx nuxt build
|
||||||
```
|
```
|
||||||
|
|
||||||
## Entry point
|
## Entry point
|
||||||
|
@ -24,7 +24,7 @@ You can use the [Nuxt config](/guide/directory-structure/nuxt.config) to explici
|
|||||||
```js [nuxt.config.js|ts]
|
```js [nuxt.config.js|ts]
|
||||||
export default {
|
export default {
|
||||||
nitro: {
|
nitro: {
|
||||||
'browser-worker'
|
'service-worker'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
@ -32,7 +32,7 @@ export default {
|
|||||||
Or directly use the `NITRO_PRESET` environment variable when running `nuxt build`:
|
Or directly use the `NITRO_PRESET` environment variable when running `nuxt build`:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
NITRO_PRESET=worker npx nuxt build
|
NITRO_PRESET=service-worker npx nuxt build
|
||||||
```
|
```
|
||||||
|
|
||||||
## Entry point
|
## Entry point
|
||||||
|
Loading…
Reference in New Issue
Block a user