Use <Analytics /> from '@vercel/analytics/nuxt' and remove custom plugin
This commit is contained in:
@@ -1,8 +1,13 @@
|
||||
<template>
|
||||
<div>
|
||||
<NuxtRouteAnnouncer />
|
||||
<Analytics />
|
||||
<NuxtLayout>
|
||||
<NuxtPage />
|
||||
</NuxtLayout>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { Analytics } from '@vercel/analytics/nuxt'
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user