Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 1ef305f

Browse files
Update config.mts
1 parent 02d7b2b commit 1ef305f

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

‎site/.vitepress/config.mts‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,20 @@ export default defineConfig({
88
title: "Vue Tree",
99
description: "Virtual list optimized Vue tree component",
1010
appearance: false,
11+
head: [
12+
[
13+
'script',
14+
{ async: '', src: 'https://www.googletagmanager.com/gtag/js?id=G-BBCLLNZQ2E' }
15+
],
16+
[
17+
'script',
18+
{},
19+
`window.dataLayer = window.dataLayer || [];
20+
function gtag(){dataLayer.push(arguments);}
21+
gtag('js', new Date());
22+
gtag('config', 'G-BBCLLNZQ2E');`
23+
]
24+
],
1125
themeConfig: {
1226
// https://vitepress.dev/reference/default-theme-config
1327
search: {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /