Vuepress Plugin Awesome Gitalk
# ๐ Welcome
Welcome to the vuepress plugin with gitalk.
# ๐ฎ TL;DR
โจ๏ธ How to use it, ๐
# ๐จ Usage
# Npm
npm install vuepress-plugin-awesome-gitalk --save
// or
yarn add vuepress-plugin-awesome-gitalk
Setting with your account
.vuepress/config.js
module.exports = {
plugins: [
[
'vuepress-plugin-awesome-gitalk', {
log: true,
enable: true,
// ๆ่ฝฝ่็น
root: "gitalk-container",
//ๆๅคง้่ฏๆฌกๆฐ
maxRetryCount: 5,
// ้ป่ฎคๆฏๆฃๆฅๆถ้ด
defaultCheckMinutes: 500,
// ๆฏๅฆๅผๅฏ้ฆ้กต่ฏ่ฎบ
home: false,
// ๅ
ณ้ญ Gitalk ่ฏ่ฎบ้กต้ข, ๆญฃๅๅน้
, eg: /docs/
ignorePaths: ['/'],
// gitalk ้
็ฝฎ
gitalk: {
clientID: 'your clientID',
clientSecret: 'your clientSecret',
repo: 'your repo name',
owner: 'your owner',
admin: ['your admin'],
language: 'zh-CN',
}
}
],
]
}
# Ignore Paths
ย
module.exports = {
plugins: [
[
'vuepress-plugin-awesome-gitalk', {
ignorePaths: ['/ignore/']
}
],
],
}
# ๐ค Contributing
We welcome all contributions. You can submit any ideas as pull requests or as a GitHub issue.
# ๐ Links
# ๐จโ๐ญ Author
Front-End development engineer, technology stack: React + Typescript + Mobx, also used Vue + Vuex for a while
# ๐ License
Copyright ยฉ 2020-present Rain120.
ignore โ