星哥的私有笔记
首页
  • 基础知识
  • DevOps
  • WEB服务
  • 文件系统
  • Nginx
  • Docker
  • 开源软件
  • 数据库
  • 安卓相关
  • JumpServer
  • 阿里云
  • 腾讯云
  • 亚马逊云
  • 其他
服务器安全
常用软件
互联网福利
调试Debug
首页
  • 基础知识
  • DevOps
  • WEB服务
  • 文件系统
  • Nginx
  • Docker
  • 开源软件
  • 数据库
  • 安卓相关
  • JumpServer
  • 阿里云
  • 腾讯云
  • 亚马逊云
  • 其他
服务器安全
常用软件
互联网福利
调试Debug
  • 首页
  • ChatGPT
    • ChatGPT
    • ChatGPT2025
  • 基础知识
  • Git服务
  • 网络安全
  • 开源软件
  • 开源2025
  • 互联网2025
  • MySQL
  • Nginx
  • Shell
  • Ubuntu
  • 硬件
  • NAS

vuepress主题与插件

官方文档: https://vuepress-theme-reco.recoluan.com/views/plugins/

vuepress-reco博客主题

vuepress博客主题—vuepress-theme-reco

https://vuepress-theme-reco.recoluan.com/views/1.x/installUse.html

安装主题:
yarn add vuepress-theme-reco

引用
module.exports = {
  theme: 'reco'
} 

添加评论

https://vuepress-theme-reco.recoluan.com/views/1.x/valine.html

主题内置评论插件 @vuepress-reco/vuepress-plugin-comments,可以根据自己的喜好选择 Valine 或者 Vssue;

在VuePress中使用:https://valine.js.org/vuepress.html

https://valine.js.org/quickstart.html

1.注册LeanCloud

https://console.leancloud.cn/register

image-20220517143252645

身份认证

image-20220517143315432

创建应用

https://console.leancloud.cn/apps

image-20220517143907106

image-20220517144010799

查看APPID和APPKEY

image-20220517144126905

在vuepress配置文件中添加

module.exports = {
  theme: 'reco',
  themeConfig: {
    valineConfig: {
      appId: '...',// your appId
      appKey: '...', // your appKey
    }
  }  
}

最终效果

image-20220517145006930

Last Updated:: 6/5/25, 8:18 AM
Contributors: star