0.7.0 • Published 11 months ago
Last release11 months ago
介绍
valine评论插件
使用
先去LeanCloud申请appId
和appKey
yarn add remark-docfree-valine
// config.js
module.exports = {
//...其他选项
plugins: [
['docfree-valine', {
appId: '<APP_Id>',
appKey: '<APP_Key>',
}],
],
};
如果某个页面需要隐藏评论,请在md文件顶部设置区域添加valine: false