Skip to content

Commit

Permalink
feat: add vercel analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
Sceat committed Apr 20, 2024
1 parent db1bc94 commit c5b40fe
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 package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"@intlify/unplugin-vue-i18n": "^4.0.0",
"@lucien144/vue3-parallaxy": "^0.1.2",
"@soerenmartius/vue3-clipboard": "^0.1.2",
"@vercel/analytics": "^1.2.2",
"animejs": "^3.2.2",
"bs58": "^5.0.0",
"undici": "^6.13.0",
Expand Down
3 changes: 3 additions & 0 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import 'vue-toastification/dist/index.css';
import 'vue-universal-modal/dist/index.css';
import VueUniversalModal from 'vue-universal-modal';
import { VueClipboard } from '@soerenmartius/vue3-clipboard';
import { inject } from '@vercel/analytics';
import {
faDiscord,
faGithub,
Expand All @@ -20,6 +21,8 @@ import { createI18n } from 'vue-i18n';
import app from './app.vue';
import router from './router.js';

inject();

const i18n = createI18n({
locale: 'en',
allowComposition: true, // you need to specify that!
Expand Down

0 comments on commit c5b40fe

Please sign in to comment.