Add vercel analytics
This commit is contained in:
parent
badcbac658
commit
e426364cfc
|
|
@ -14,6 +14,7 @@
|
|||
"@giraugh/tools": "^1.6.0",
|
||||
"@js-temporal/polyfill": "^0.4.4",
|
||||
"@microsoft/microsoft-graph-client": "^3.0.5",
|
||||
"@vercel/analytics": "^1.0.1",
|
||||
"accept-language": "^3.0.18",
|
||||
"gapi-script": "^1.2.0",
|
||||
"hue-map": "^1.0.0",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
import { Metadata } from 'next'
|
||||
import { Karla } from 'next/font/google'
|
||||
import { Analytics } from '@vercel/analytics/react'
|
||||
|
||||
import Egg from '/src/components/Egg/Egg'
|
||||
import Settings from '/src/components/Settings/Settings'
|
||||
|
|
@ -42,6 +43,8 @@ const RootLayout = async ({ children }: { children: React.ReactNode }) => {
|
|||
<TranslateDialog />
|
||||
|
||||
{children}
|
||||
|
||||
<Analytics />
|
||||
</body>
|
||||
</html>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -404,6 +404,11 @@
|
|||
"@typescript-eslint/types" "5.59.9"
|
||||
eslint-visitor-keys "^3.3.0"
|
||||
|
||||
"@vercel/analytics@^1.0.1":
|
||||
version "1.0.1"
|
||||
resolved "https://registry.yarnpkg.com/@vercel/analytics/-/analytics-1.0.1.tgz#38308a626c91866cb00a249c08bf65251e9b9d81"
|
||||
integrity sha512-Ux0c9qUfkcPqng3vrR0GTrlQdqNJ2JREn/2ydrVuKwM3RtMfF2mWX31Ijqo1opSjNAq6rK76PwtANw6kl6TAow==
|
||||
|
||||
accept-language@^3.0.18:
|
||||
version "3.0.18"
|
||||
resolved "https://registry.yarnpkg.com/accept-language/-/accept-language-3.0.18.tgz#f5025f17bf65a466a845838ccf98cdb877d83384"
|
||||
|
|
|
|||
Loading…
Reference in a new issue