vuepress-plugin-baidu
v1.0.0
Published
Baidu-tongji plugin for vuepress
Downloads
5
Maintainers
Readme
Baitu tongji plugin for vuepress
Install
yarn add -D vuepress-plugin-baidu-tongji
# OR npm install -D vuepress-plugin-baidu-tongji
Usage
module.exports = {
plugins: ['vuepress-plugin-baidu-tongji', {
hm: 'abcdefghijklmnopqrstuvwxyz123456'
}]
}
or
module.exports = {
plugins: ['baidu-tongji', {
hm: 'abcdefghijklmnopqrstuvwxyz123456'
}]
}
or
module.exports = {
plugins: {
'baidu-tongji': {
hm: 'abcdefghijklmnopqrstuvwxyz123456'
}
}
}
Options
hm
- Type:
string
- Default:
undefined
Provide the Baidu Tongji ID to enable integration.