Coder Social home page Coder Social logo

joeybling / vuepress-plugin-mygitalk Goto Github PK

View Code? Open in Web Editor NEW
12.0 3.0 0.0 530 KB

VuePress集成Gitalk. | Gitalk plugin for VuePress.

Home Page: https://zhousiwei.gitee.io/ibooks/

License: MIT License

JavaScript 31.85% CSS 2.43% Vue 65.72%
vue vuepress vuepress-plugin gitalk yilia yilia-plus github issues comment github-issues

vuepress-plugin-mygitalk's Introduction

vuepress-plugin-mygitalk

.___  ___. ____    ____  _______  __  .___________.    ___       __       __  ___
|   \/   | \   \  /   / /  _____||  | |           |   /   \     |  |     |  |/  /
|  \  /  |  \   \/   / |  |  __  |  | `---|  |----`  /  ^  \    |  |     |  '  /
|  |\/|  |   \_    _/  |  | |_ | |  |     |  |      /  /_\  \   |  |     |    <
|  |  |  |     |  |    |  |__| | |  |     |  |     /  _____  \  |  `----.|  .  \
|__|  |__|     |__|     \______| |__|     |__|    /__/     \__\ |_______||__|\__\

npm package downloads-total downloads-month star fork GitHub Last Commit issues Author VuePress Version vuepress-theme-yilia-plus 博客搭建交流群


欢迎使用和Star支持,如使用过程中碰到问题,可以提出Issue,我会尽力完善

介绍

    VuePress集成Gitalk. | Gitalk plugin for VuePress.

线上预览

预览 ➡️ https://zhousiwei.gitee.io/ibooks

推荐一款VuePress主题

一款简洁优雅的VuePress主题 ➡️ https://github.com/JoeyBling/vuepress-theme-yilia-plus

效果截图

截图

安装

yarn add vuepress-plugin-mygitalk
# or
npm install vuepress-plugin-mygitalk --save

开始使用

引入该插件

在配置文件中引入 vuepress-plugin-mygitalk

查看 官方文档

module.exports = {
  plugins: [
    [
      'vuepress-plugin-mygitalk'
    ],
  ],
}

插件配置

module.exports = {
  plugins: [
    [
      'vuepress-plugin-mygitalk', {
        // 是否启用(关闭请设置为false)(default: true)
        enable: true,
        // 是否开启首页评论(default: true)
        home: true,
        // Gitalk配置
        gitalk: {
          // GitHub Application Client ID.
          clientID: '',
          // GitHub Application Client Secret.
          clientSecret: '',
          // GitHub repository. 存储评论的 repo
          repo: '',
          // GitHub repository 所有者,可以是个人或者组织。
          owner: '',
          // GitHub repository 的所有者和合作者 (对这个 repository 有写权限的用户)。(不配置默认是owner配置)
          admin: [''],
          // 设置语言(default: zh-CN)
          language: 'zh-CN',
        }
      }
    ],
  ],
}

其他项目支持

捐赠

    如果感觉对您有帮助,请作者喝杯咖啡吧,请注明您的名字或者昵称,方便作者感谢o( ̄︶ ̄)o

微信 支付宝

关于我

LICENSE

LICENSE

vuepress-plugin-mygitalk's People

Contributors

joeybling avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

vuepress-plugin-mygitalk's Issues

Error: Not Found

❓问题

🤔结果 & 预期

Please describe what you expected to see.(请描述一下你希望看到什么)

🐥环境 & 设置

Node.js & npm version

🙋Others

不登录无法看到评论

❓问题

只有登录后才能看到评论,如果没有登录的话会提示 “Error: Network Error”,而且看不到其他评论

🤔结果 & 预期

希望能够在不登录的情况下不显示这个错误,而且能够看到评论

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.