1.0.0 • Published 6 years ago

vuepress-plugin-baidu v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

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.

1.0.0

6 years ago