FastComments.com

Add Comments to Your Astro Site


ื–ื•ื”ื™ ืกืคืจื™ื™ืช Astro ื”ืจืฉืžื™ืช ืฉืœ FastComments.

ื•ื•ื™ื“ื’'ื˜ื™ื ืœืชื’ื•ื‘ื•ืช ืฉืœ FastComments ืขื‘ื•ืจ Astro

ืžืื’ืจ

ืฆืคื” ื‘-GitHub


ื”ืชืงื ื” Internal Link

npm install fastcomments-astro

ื”ืชื—ืœื” ืžื”ื™ืจื” Internal Link

---
import { FastComments } from 'fastcomments-astro';
---

<FastComments tenantId="demo" />

ื”ื—ืœืฃ ืืช "demo" ื‘-tenant ID ืฉืœ FastComments ืฉืœืš.

ืจื›ื™ื‘ื™ื Internal Link

Component Description
FastComments ื•ื•ื™ื“ื’'ื˜ ืชื’ื•ื‘ื•ืช ืขื ืชื’ื•ื‘ื•ืช ืžืฉื ื”, ื”ืฆื‘ืขื•ืช ื•ืขื•ื“
FastCommentsCommentCount ืžืฆื™ื’ ืกืคื™ืจืช ืชื’ื•ื‘ื•ืช ืœืขืžื•ื“
FastCommentsImageChat ื”ืขืจื•ืช ืขืœ ืชืžื•ื ื•ืช
FastCommentsLiveChat ื•ื•ื™ื“ื’'ื˜ ืฆ'ืื˜ ื—ื™
FastCommentsCollabChat ื”ืขืจื•ืช ืฉื™ืชื•ืคื™ื•ืช ื‘ืชื•ืš ื”ื˜ืงืกื˜
FastCommentsReviewsSummary ืกื™ื›ื•ื ื‘ื™ืงื•ืจื•ืช ื‘ื“ื™ืจื•ื’ ื›ื•ื›ื‘ื™ื
FastCommentsUserActivityFeed ืคื™ื“ ืคืขื™ืœื•ืช ืžืฉืชืžืฉ

All components are exported from the package root:

---
import { FastComments, FastCommentsLiveChat } from 'fastcomments-astro';
---

ืคืจื•ื™ืงื˜ ืœื“ื•ื’ืžื” Internal Link

ื“ื•ื’ืžื” ืขื•ื‘ื“ืช ื›ืœื•ืœื” ื‘ืชื™ืงื™ื™ืช example/:

cd example && npm install && npm run dev


ื–ืงื•ืง ืœืขื–ืจื”?

ืื ืชื™ืชืงืœื• ื‘ื‘ืขื™ื•ืช ืื• ื™ืฉ ืœื›ื ืฉืืœื•ืช ืœื’ื‘ื™ ืกืคืจื™ื™ืช Astro, ืื ื:

ืชืจื•ืžื•ืช

ืชืจื•ืžื•ืช ื™ืชืงื‘ืœื• ื‘ื‘ืจื›ื”! ืื ื ื‘ืงืจื• ื‘-ืžืื’ืจ GitHub ืœืงื‘ืœืช ื”ื ื—ื™ื•ืช ืœืชืจื•ืžื”.