elvis-updates
Elvis Saravia 2023-03-17 01:48:51 -06:00
parent bfe240ad7d
commit 724acc3f73
3 changed files with 23 additions and 0 deletions

9
package-lock.json generated
View File

@ -9,6 +9,7 @@
"version": "0.0.1",
"license": "MIT",
"dependencies": {
"@vercel/analytics": "^0.1.11",
"next": "^13.0.6",
"nextra": "latest",
"nextra-theme-docs": "latest",
@ -593,6 +594,14 @@
"resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.6.tgz",
"integrity": "sha512-PBjIUxZHOuj0R15/xuwJYjFi+KZdNFrehocChv4g5hu6aFroHue8m0lBP0POdK2nKzbw0cgV1mws8+V/JAcEkQ=="
},
"node_modules/@vercel/analytics": {
"version": "0.1.11",
"resolved": "https://registry.npmjs.org/@vercel/analytics/-/analytics-0.1.11.tgz",
"integrity": "sha512-mj5CPR02y0BRs1tN3oZcBNAX9a8NxsIUl9vElDPcqxnMfP0RbRc9fI9Ud7+QDg/1Izvt5uMumsr+6YsmVHcyuw==",
"peerDependencies": {
"react": "^16.8||^17||^18"
}
},
"node_modules/acorn": {
"version": "8.8.2",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.2.tgz",

View File

@ -18,6 +18,7 @@
},
"homepage": "https://github.com/shuding/nextra-docs-template#readme",
"dependencies": {
"@vercel/analytics": "^0.1.11",
"next": "^13.0.6",
"nextra": "latest",
"nextra-theme-docs": "latest",

13
pages/_app.tsx 100644
View File

@ -0,0 +1,13 @@
import type { AppProps } from 'next/app';
import { Analytics } from '@vercel/analytics/react';
function MyApp({ Component, pageProps }: AppProps) {
return (
<>
<Component {...pageProps} />
<Analytics />
</>
);
}
export default MyApp;