Skip to content

Commit f409323

Browse files
committed
docs: add google analytics plugin of vuepress
1 parent daf658d commit f409323

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

docs/.vuepress/config.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,5 +117,8 @@ module.exports = {
117117
},
118118
},
119119
},
120-
plugins: [require('@vuepress/theme-default/index')],
120+
plugins: [
121+
require('@vuepress/theme-default/index'),
122+
'@vuepress/google-analytics'
123+
],
121124
};

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
"@babel/runtime": "^7.0.0",
4848
"@commitlint/cli": "^7.0.0",
4949
"@commitlint/config-conventional": "^7.0.1",
50+
"@vuepress/plugin-google-analytics": "^1.0.0-alpha.16",
5051
"autoprefixer": "^9.1.5",
5152
"babel-loader": "^8.0.2",
5253
"babel-plugin-istanbul": "^5.0.1",

0 commit comments

Comments
 (0)