mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-21 07:21:46 +01:00
docs: enable CF analytics
This commit is contained in:
@@ -19,6 +19,7 @@ export default defineNuxtConfig({
|
||||
'@nuxtjs/plausible',
|
||||
'@vueuse/nuxt',
|
||||
'nuxt-component-meta',
|
||||
'nuxt-cloudflare-analytics',
|
||||
'modules/content-examples-code'
|
||||
],
|
||||
runtimeConfig: {
|
||||
@@ -77,6 +78,10 @@ export default defineNuxtConfig({
|
||||
exposed: false
|
||||
}
|
||||
},
|
||||
cloudflareAnalytics: {
|
||||
token: '1e2b0c5e9a214f0390b9b94e043d8d4c',
|
||||
scriptPath: false
|
||||
},
|
||||
hooks: {
|
||||
// Related to https://github.com/nuxt/nuxt/pull/22558
|
||||
'components:extend': (components) => {
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
"eslint": "^8.50.0",
|
||||
"joi": "^17.10.2",
|
||||
"nuxt": "^3.7.4",
|
||||
"nuxt-cloudflare-analytics": "^1.0.8",
|
||||
"nuxt-component-meta": "^0.5.4",
|
||||
"nuxt-og-image": "^2.0.28",
|
||||
"typescript": "^5.2.2",
|
||||
|
||||
Reference in New Issue
Block a user