FastComments.com

Add Comments to Your GatsbyJS Site

这是 FastComments 的官方 GatsbyJS 库。

带有 FastComments 设置的示例 GatsbyJS 站点

仓库

在 GitHub 上查看


🚀 快速开始 Internal Link


  1. 查看演示。

    进入你新站点的目录并启动它。

    cd fastcomments-gatsbyjs-example/
    npm install
    gatsby develop
  2. 将 FastComments 添加到你的 Gatsby 站点。

    查看 src/pages/index.js。下面这一行展示了我们如何实例化该小部件:

    return <FastCommentsCommentWidget tenantId="demo" />;

示例 Internal Link


  1. 简单示例

    http://localhost:8000/commenting

    代码: src/pages/commenting.tsx.

  1. 暗色模式切换

    http://localhost:8000/dark-mode

    代码: src/pages/dark-mode.tsx.

  1. 页面过渡

    http://localhost:8000/page-transition-test-start

    代码: src/pages/page-transition-test-start.tsx.

查看更多请访问 http://localhost:8000

需要帮助?

如果您在使用 GatsbyJS 库时遇到任何问题或有任何疑问,请:

贡献

欢迎贡献!请访问 GitHub 仓库 获取贡献指南。