• valine
  • Artiely
  • #vuepress#vue#javaScript
  • 2020-04-07
  • 121
  • 1 min read
  • loading...

Vuepress-plugin-valine

Support popluar comment plugins in Vuepress, such as Valine.

Features

  • Support Valine
  • Dynamic Import
  • Response router change and refresh automatic
  • User can use passage's $frontmatter

Usage

Install

With npm:

npm install --save vuepress-plugin-valine
复制成功
1

With yarn:

yarn add vuepress-plugin-valine -D
复制成功
1

With cnpm:

cnpm i --save vuepress-plugin-valine
复制成功
1

Use

The options is exactly the same as Valine configuration.

module.exports = {
  plugins: [
    [
      'vuepress-plugin-valine',
      {
        appId: 'Your own appId',
        appKey: 'Your own appKey'
      }
    ]
  ]
}
复制成功
1
2
3
4
5
6
7
8
9
10
11

demo

https://artiely.gitee.io