
語言 🇹🇼 繁體中文
🇺🇸
English
🇧🇬
Български
🇨🇳
简体中文
🇹🇼
繁體中文
🇭🇷
Hrvatski
🇩🇰
Dansk
🇳🇱
Nederlands
🇺🇸
English (US)
🇨🇦
Français (Canada)
🇫🇷
Français (France)
🇩🇪
Deutsch
🇨🇾
Ελληνικά (Κύπρος)
🇬🇷
Ελληνικά
🇮🇱
עברית
🇮🇹
Italiano
🇯🇵
日本語
🇰🇷
한국어
🇵🇱
Polski
🇧🇷
Português (Brasil)
🇷🇺
Русский
🇺🇦
Русский (Украина)
🇧🇦
Српски (БиХ)
🇷🇸
Srpski (Latinica)
🇲🇪
Српски (Црна Гора)
🇷🇸
Српски
🇸🇮
Slovenščina
🇪🇸
Español
🇺🇦
Українська
🇹🇷
Türkçe
文件
入門
使用
Add Comments to Your Astro Site
這是 FastComments 的官方 Astro 函式庫。
FastComments 適用於 Astro 的評論小工具
儲存庫
線上示範 
在 https://fastcomments.com/commenting-system-for-astro 立即線上試用所有小工具。
線上展示 
要在本機查看所有針對公開 demo 租戶執行的每個 widget 和 flow,請複製此儲存庫並執行:
cd example
npm install
npm run dev
每個元件在 example/src/pages/ 底下都有自己的頁面,您可以直接複製到自己的 Astro 網站中。
快速開始 
---
import { FastComments } from 'fastcomments-astro';
---
<FastComments tenantId="demo" />
將 "demo" 換成你的 FastComments 租戶 ID。
元件 
| 元件 | 說明 |
|---|---|
FastComments |
具有回覆、投票等功能的留言小工具 |
FastCommentsCommentCount |
顯示頁面的留言數量 |
FastCommentsImageChat |
圖片註解留言 |
FastCommentsLiveChat |
即時聊天小工具 |
FastCommentsCollabChat |
協作式內嵌留言 |
FastCommentsReviewsSummary |
星級評分評論摘要 |
FastCommentsUserActivityFeed |
使用者活動動態 |
所有元件皆從套件根目錄匯出:
---
import { FastComments, FastCommentsLiveChat } from 'fastcomments-astro';
---
維護狀態 
這些元件是我們核心 VanillaJS 元件的包裝器。我們可以自動更新這些元件(修復錯誤、加入功能),而無需發佈這個函式庫,因此即使這個函式庫可能暫時沒有發佈,也不代表 FastComments 沒有在積極開發中!歡迎查看 我們的部落格 以取得更新。在未對此函式庫進行版本更新的情況下,破壞性 API 變更或功能絕不會被發佈到底層核心函式庫。
需要幫助?
如果您在使用 Astro Library 時遇到任何問題或有任何疑問,請:
貢獻
歡迎您的貢獻!請造訪 GitHub 儲存庫 以查看貢獻指南。