plugin-baidu-tongji

Gungnir
2020-03-26
2 min

npm github license

Plugin @renovamen/vuepress-plugin-baidu-tongji for adding Baidu Tongji to VuePress. It is edited from @vuepress/plugin-google-analytics.

# Install

yarn add @renovamen/vuepress-plugin-baidu-tongji
# or
npm install @renovamen/vuepress-plugin-baidu-tongji

# Usage

module.exports = {
  plugins: [
    [
      '@renovamen/vuepress-plugin-baidu-tongji', {
        'ba': 'your-tracking-code'
      }
    ]
  ]
}

ba is your tracking code offered by Baidu Tongji.

# License

MIT