FastComments.com

Add Comments to Your Svelte App

This is the official Svelte Library for FastComments.

FastComments commenting widgets for Svelte

Repository

View on GitHub


Quick Start Internal Link

<script lang="ts">
  import CommentWidget from "fastcomments-svelte/CommentWidget.svelte";
  import type { FastCommentsCommentWidgetConfig } from "fastcomments-typescript";

  let config: FastCommentsCommentWidgetConfig = {
    tenantId: "demo",
    urlId: "my-page"
  };
</script>

<CommentWidget config={config} />

Widgets Internal Link

This library currently contains the following widgets:

It also features examples for:

Developing Internal Link

Once you've installed dependencies with npm install (or pnpm install or yarn), start a development server:

npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open

Everything inside src/lib is part of the library, everything inside src/routes is the showcase.

Building Internal Link


To build:

npm run package

Need Help?

If you encounter any issues or have questions about the Svelte Library, please:

Contributing

Contributions are welcome! Please visit the GitHub repository for contribution guidelines.