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 f06a3ad commit 70da4c7Copy full SHA for 70da4c7
packages/svelte/playground/.env.example
@@ -0,0 +1 @@
1
+VITE_HAWK_TOKEN=your_integration_token_here
packages/svelte/playground/src/hooks.client.ts
@@ -0,0 +1,7 @@
+import Hawk from '@hawk.so/svelte';
2
+
3
+if (import.meta.env.VITE_HAWK_TOKEN) {
4
+ new Hawk({
5
+ token: import.meta.env.VITE_HAWK_TOKEN,
6
+ });
7
+}
0 commit comments