迁移至 V2
小于 1 分钟
从 @mr-hope/vuepress-plugin-comment
重命名为 vuepress-plugin-comment2
。 ⚠
破坏性变更
type
重命名为provider
,并且要求首字母大写// before ['comment', { type: 'vssue', ... }], // after commentPlugin({ provider: 'Vssue', ... }),
新功能
添加
artalk
、twikoo
和giscus
评论服务的支持现在,你可以使用在客户端通过 defineArtalkConfig、defineWalineConfig、 defineTwikooConfig 和 defineGiscusConfig 来定义你的评论服务配置了。