docs: Add a GA tag
This commit is contained in:
parent
2f9922ff2f
commit
dcb78a4e0b
|
@ -25,5 +25,13 @@ module.exports = {
|
||||||
editLinks: true,
|
editLinks: true,
|
||||||
// custom text for edit link. Defaults to "Edit this page"
|
// custom text for edit link. Defaults to "Edit this page"
|
||||||
editLinkText: 'Edit this page on GitHub'
|
editLinkText: 'Edit this page on GitHub'
|
||||||
}
|
},
|
||||||
|
plugins: [
|
||||||
|
[
|
||||||
|
'@vuepress/google-analytics',
|
||||||
|
{
|
||||||
|
'ga': 'UA-71160903-4'
|
||||||
|
}
|
||||||
|
]
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -1060,6 +1060,12 @@
|
||||||
"lodash.throttle": "^4.1.1"
|
"lodash.throttle": "^4.1.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"@vuepress/plugin-google-analytics": {
|
||||||
|
"version": "1.0.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/@vuepress/plugin-google-analytics/-/plugin-google-analytics-1.0.3.tgz",
|
||||||
|
"integrity": "sha512-mqFFQSJjQp5zscZJ0Ik+YDLV7sZSAO8w13CG8c5WsUCjy+0oWhqAw/NjpVrEK8Y/PdYPe4l/OE5jMUU5AqRRjg==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
"@vuepress/plugin-last-updated": {
|
"@vuepress/plugin-last-updated": {
|
||||||
"version": "1.0.2",
|
"version": "1.0.2",
|
||||||
"resolved": "https://registry.npmjs.org/@vuepress/plugin-last-updated/-/plugin-last-updated-1.0.2.tgz",
|
"resolved": "https://registry.npmjs.org/@vuepress/plugin-last-updated/-/plugin-last-updated-1.0.2.tgz",
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
"build": "vuepress build"
|
"build": "vuepress build"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@vuepress/plugin-google-analytics": "^1.0.3",
|
||||||
"vuepress": "^1.0.2"
|
"vuepress": "^1.0.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue