diff --git a/apps/docs/package.json b/apps/docs/package.json index f76435b..e95587c 100644 --- a/apps/docs/package.json +++ b/apps/docs/package.json @@ -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", diff --git a/apps/docs/src/pages/_app.mdx b/apps/docs/src/pages/_app.mdx index ae5cdb2..83c00d9 100644 --- a/apps/docs/src/pages/_app.mdx +++ b/apps/docs/src/pages/_app.mdx @@ -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 ( + - ); + ) } diff --git a/yarn.lock b/yarn.lock index 649ce2a..28fb6bf 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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"