Skip to content

Commit

Permalink
@vercel/analytics added
Browse files Browse the repository at this point in the history
  • Loading branch information
rinturaj committed Jan 20, 2023
1 parent 798d156 commit 4f27f53
Show file tree
Hide file tree
Showing 3 changed files with 80 additions and 1 deletion.
71 changes: 71 additions & 0 deletions package-lock.json

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

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,8 @@
"typescript": "^4.7.4",
"vite": "^3.0.0"
},
"type": "module"
"type": "module",
"dependencies": {
"@vercel/analytics": "^0.1.8"
}
}
5 changes: 5 additions & 0 deletions src/routes/index.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
import { onMount } from 'svelte';
import Avatar from './components/avatar.svelte';
import { inject } from '@vercel/analytics';
onMount(() => {
inject();
// @ts-ignore
var canvas,
ctx,
Expand Down

1 comment on commit 4f27f53

@vercel
Copy link

@vercel vercel bot commented on 4f27f53 Jan 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

wacko – ./

wacko.vercel.app
wacko-git-main-rinturaj.vercel.app
wacko-rinturaj.vercel.app

Please sign in to comment.