We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd86242 commit 125cbd3Copy full SHA for 125cbd3
src/demo/CodeGen.vue
@@ -15,6 +15,7 @@ import javascript from "highlight.js/lib/languages/javascript";
15
import typescript from "highlight.js/lib/languages/typescript";
16
import hljsVuePlugin from "@highlightjs/vue-plugin";
17
import { initialize, transform } from "esbuild-wasm";
18
+import va from "@vercel/analytics";
19
20
import { getImportsFromOption } from "./utils/codegen";
21
@@ -136,6 +137,7 @@ const messageOpen = ref(false);
136
137
let messageTimer;
138
139
function copy() {
140
+ va.track("copy-code");
141
clearTimeout(messageTimer);
142
143
navigator.clipboard.writeText(importCode.value);
0 commit comments