feat: add google analytics

This commit is contained in:
LeoKu
2021-10-17 17:32:01 +08:00
parent 34f19df3d2
commit 024f9afd5c
4 changed files with 33 additions and 1 deletions

5
src/env.d.ts vendored
View File

@@ -6,3 +6,8 @@ declare module '*.vue' {
const component: DefineComponent<{}, {}, any>
export default component
}
interface Window {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
gtag: any
}