
語言 🇹🇼 繁體中文
文件
用法
在你的 GatsbyJS 網站新增留言
這是 FastComments 的官方 GatsbyJS 函式庫。
範例包含 FastComments 設定的 GatsbyJS 站點
儲存庫
🚀 快速開始 
-
查看實際效果。
切換到你新網站的目錄並啟動它。
cd fastcomments-gatsbyjs-example/ npm install gatsby develop -
將 FastComments 新增到你的 Gatsby 站點。
查看 src/pages/index.js。這一行就是我們實例化此元件的方式:
return <FastCommentsCommentWidget tenantId="demo" />;
範例 
-
簡單範例
http://localhost:8000/commenting
程式碼: src/pages/commenting.tsx.
-
深色模式切換
http://localhost:8000/dark-mode
程式碼: src/pages/dark-mode.tsx.
-
頁面轉換
http://localhost:8000/page-transition-test-start
查看更多請前往 http://localhost:8000
需要幫助嗎?
如果您在使用 GatsbyJS 函式庫時遇到任何問題或有任何疑問,請:
貢獻
歡迎任何貢獻!請造訪 GitHub 儲存庫 以取得貢獻指南。