staugur / vuepress-plugin-utterances

A simple comments plugin for vuepress
BSD 3-Clause "New" or "Revised" License
4 stars 1 forks source link
comment-system vue vuepress vuepress-plugin

vuepress-plugin-utterances

A simple comments plugin for vuepress

English | 中文


Refer to utterances implemented by @Timi-design/vuepress-plugin-comments, also supports Beaudar

ps: The level is limited, there may be some bugs that cannot be solved, use it with caution~~

ps: Beaudar can be regarded as the Chinese version of Utterances

Install

With npm:

npm install --save @saintic/vuepress-plugin-utterances

With yarn:

yarn add @saintic/vuepress-plugin-utterances -D

With cnpm:

cnpm i --save @saintic/vuepress-plugin-utterances

Usage

Name

Options

Please learn about Utterances, a GitHub issue based review system.

Option name Required Utterances configuration Default value
repo yes GitHub Repository \
theme no Theme value github-light
issueTerm no Blog Post ↔️ Issue Mapping pathname
defaultShowComment no Show comments by default true
service no Service provider: utterances/beaudar utterances

Page frontmatter

showComment {Boolean}: A single post page display comments

PS: by the way, comments are not allowed on the index page(/).

Examples

Please refer to how vuexpress uses plugins first

Demo site