docs: add vercel analytics

This commit is contained in:
braks
2022-11-15 12:51:40 +01:00
parent f1b225078d
commit bce493cfe5
3 changed files with 13 additions and 0 deletions
+2
View File
@@ -1,6 +1,7 @@
import type { Theme } from 'vitepress'
import VueAnimXyz from '@animxyz/vue3'
import DefaultTheme from 'vitepress/theme'
import { inject } from '@vercel/analytics'
import Layout from './layouts/default.vue'
import 'virtual:windi.css'
import '@animxyz/core'
@@ -13,6 +14,7 @@ const CustomTheme = {
Layout,
enhanceApp: ({ app }) => {
app.use(VueAnimXyz)
inject()
},
} as Theme