1.0.1 • Published 11 months ago

astro-disqus v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

astro-disqus

License: MIT NPM Version

Add Disqus to your Astro website.

Key Features

  • Simplified Integration: Easily add Disqus to your Astro website with minimal configuration.
  • Support View Transitions: Automatically reload Disqus when navigating between pages.

Getting Started

  1. Installation: Install the package using npm: npm install astro-disqus.
  2. Import and Usage: Import the Head component from the package and use it within your Astro components:
---
import { Disqus } from "astro-disqus";
---

<Disqus embed="https://demo.disqus.com/embed.js" />

Supported Props

PropDescription
embedThe embed url, like https://demo.disqus.com/embed.js, required
urlThe page url
classThe class name of the container
styleThe style of the container

Links

1.0.1

11 months ago

1.0.0

11 months ago