Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
harlan-zw committed Sep 27, 2024
2 parents 299516c + 8dc8da5 commit b435ca5
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions docs/content/docs/1.guides/1.registry-scripts.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,14 +98,17 @@ You can do this by providing a `mock` value to the registry script.

```ts [nuxt.config.ts]
export default defineNuxtConfig({
$production: {
scripts: {
registry: {
googleTagManager: true,
},
},
$development: {
scripts: {
registry: {
googleAnalytics: {
id: 'YOUR_ID',
},
}
}
googleTagManager: "mock",
},
},
},
})
```
Expand Down

0 comments on commit b435ca5

Please sign in to comment.