Skip to content

Commit 8472d25

Browse files
authored
Merge pull request #56 from Minimal-APIs/analytics
added google analytics
2 parents a20372e + 80519a8 commit 8472d25

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

package-lock.json

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

package.json

+3
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,8 @@
1818
"@vuepress/plugin-medium-zoom": "^1.8.2",
1919
"@vuepress/plugin-active-header-links": "^1.8.2",
2020
"vuepress": "^1.5.3"
21+
},
22+
"dependencies": {
23+
"@vuepress/plugin-google-analytics": "^1.8.2"
2124
}
2225
}

src/.vuepress/config.js

+3
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ module.exports = {
2323
{ name: "apple-mobile-web-app-status-bar-style", content: "black" },
2424
],
2525
],
26+
plugins: [
27+
['@vuepress/plugin-google-analytics', { ga: 'G-1JBB6MLLED' }],
28+
],
2629

2730
markdown: {
2831
lineNumbers: true,

0 commit comments

Comments
 (0)