1
0
Fork 0

feat: add vercel audience analytics (trying it out)

This commit is contained in:
Vojtěch Mareš 2023-01-12 14:42:41 +01:00
parent 2f8de720b9
commit dc34b678d1
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D
3 changed files with 19 additions and 1 deletions

View file

@ -1,9 +1,16 @@
import { Analytics } from '@vercel/analytics/react';
import { AppProps } from "next/app";
import "@/css/tailwind.css";
function App({ Component, pageProps }: AppProps) {
return <Component {...pageProps} />;
return (
<>
<Component {...pageProps} />
<Analytics />
</>
);
}
export default App;