Skip to content

Commit

Permalink
docs: added docs analytics tracking
Browse files Browse the repository at this point in the history
  • Loading branch information
trinhthinh388 committed May 16, 2024
1 parent 1713e96 commit b183a2b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
1 change: 1 addition & 0 deletions apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
},
"dependencies": {
"@react-awesome/components": "1.0.20",
"@vercel/speed-insights": "^1.0.10",
"classnames": "^2.5.1",
"lodash": "^4.17.21",
"lucide-react": "^0.315.0",
Expand Down
8 changes: 5 additions & 3 deletions apps/docs/src/pages/_app.mdx
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
import '../styles/global.scss';
import { App } from '../components/pages/App';
import '../styles/global.scss'
import { App } from '../components/pages/App'
import { SpeedInsights } from '@vercel/speed-insights/next'

export default function AppPage({ Component, pageProps }) {
return (
<App>
<Component {...pageProps} />
<SpeedInsights />
</App>
);
)
}
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1683,6 +1683,11 @@
resolved "https://registry.yarnpkg.com/@ungap/structured-clone/-/structured-clone-1.2.0.tgz#756641adb587851b5ccb3e095daf27ae581c8406"
integrity sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==

"@vercel/speed-insights@^1.0.10":
version "1.0.10"
resolved "https://registry.yarnpkg.com/@vercel/speed-insights/-/speed-insights-1.0.10.tgz#2e2e6a16beff72cbb58fd59ea8deb18f7338a014"
integrity sha512-4uzdKB0RW6Ff2FkzshzjZ+RlJfLPxgm/00i0XXgxfMPhwnnsk92YgtqsxT9OcPLdJUyVU1DqFlSWWjIQMPkh0g==

"@vercel/style-guide@^5.1.0":
version "5.1.0"
resolved "https://registry.yarnpkg.com/@vercel/style-guide/-/style-guide-5.1.0.tgz#93489c46184abf0389a40a674ec38e6cba5d43bf"
Expand Down

0 comments on commit b183a2b

Please sign in to comment.