We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83488a5 commit b46d97bCopy full SHA for b46d97b
docs/.vitepress/config.js
@@ -1,4 +1,19 @@
1
-/** @type {import('vitepress').UserConfig} */
+/** @typedef {import('vitepress').UserConfig} UserConfig */
2
+
3
+/** @type {UserConfig['head']} */
4
+const head = []
5
6
+if (process.env.NODE_ENV === 'production') {
7
+ head.push([
8
+ 'script',
9
+ {
10
+ src: 'https://unpkg.com/thesemetrics@latest',
11
+ async: '',
12
+ },
13
+ ])
14
+}
15
16
+/** @type {UserConfig} */
17
const config = {
18
lang: 'en-US',
19
title: 'Vue Router',
@@ -15,6 +30,7 @@ const config = {
30
description: 'El router oficial par Vue.js',
31
},
32
33
+ head,
34
// serviceWorker: true,
35
themeConfig: {
20
36
// algolia: {
0 commit comments