Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 24 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ The data we collect is completely anonymous, not traceable to the source (using

You can disable Nuxt Telemetry for your project in several ways:

### Nuxt 3
1. Setting `telemetry: false` in your `nuxt.config`:

```js
Expand All @@ -65,6 +66,18 @@ export default {
}
```

### Nuxt 4
1. Setting `telemetry: { enabled: false }` in your `nuxt.config`:

```js
export default {
telemetry: {
enabled: false,
}
}
```

### Universal (Both Nuxt 3 & 4)
2. Using an environment variable:

```bash
Expand All @@ -81,14 +94,24 @@ npx @nuxt/telemetry [status|enable|disable] [-g,--global] [dir]

## Skip Prompt

If you encounter problems with the consent prompt and want to participate without being asked this question, you can set `telemetry: true` from `nuxt.config`:
If you encounter problems with the consent prompt and want to participate without being asked this question, you can set the following in your `nuxt.config`:

### Nuxt 3
```js
export default {
telemetry: true
}
```

### Nuxt 4
```js
export default {
telemetry: {
enabled: true,
}
}
```

## Thank you

We want to thank you for participating in this telemetry program to help us better understand how you use Nuxt to keep improving it πŸ’š
Expand Down