Skip to content

Commit

Permalink
tmp: analytics test
Browse files Browse the repository at this point in the history
  • Loading branch information
fand committed Jun 24, 2024
1 parent 46af735 commit 79a2af5
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
26 changes: 26 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/docs-vfx-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"preview": "vite preview"
},
"dependencies": {
"@vercel/analytics": "^1.3.1",
"@vfx-js/core": "0.1.0",
"dedent": "^1.5.3",
"is-mobile": "^4.0.0",
Expand Down
3 changes: 3 additions & 0 deletions packages/docs-vfx-js/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { VFX } from "@vfx-js/core";
import { inject as injectAnalytics } from "@vercel/analytics";

import Prism from "prismjs";
import "prism-themes/themes/prism-nord.min.css";
Expand Down Expand Up @@ -252,4 +253,6 @@ window.addEventListener("load", () => {
app.showLogo();
app.showProfile();
}, 2000);

injectAnalytics();
});

0 comments on commit 79a2af5

Please sign in to comment.