Skip to content

Commit f4dc4ca

Browse files
committed
feat: add gtag
1 parent 7b32460 commit f4dc4ca

File tree

4 files changed

+18
-2
lines changed

4 files changed

+18
-2
lines changed

.env.example

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
NUXT_GTAG_ID=
1+
NUXT_PUBLIC_GTAG_ID=
22
NUXT_GITHUB_LINK=https://github.com/savokiss/openai-keytools

nuxt.config.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ export default defineNuxtConfig({
66
global: true
77
},
88
],
9-
'@vueuse/nuxt'
9+
'@vueuse/nuxt',
10+
'nuxt-gtag'
1011
],
1112
colorMode: {
1213
preference: 'light'

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"eslint": "^8.42.0",
2222
"less": "^4.1.3",
2323
"nuxt": "^3.6.2",
24+
"nuxt-gtag": "^0.5.7",
2425
"typescript": "5.1.6"
2526
},
2627
"resolutions": {

pnpm-lock.yaml

+14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)