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 儲存庫 以取得貢獻指南。