1.0.1 • Published 11 months ago
astro-disqus v1.0.1
astro-disqus
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
- Installation: Install the package using npm:
npm install astro-disqus
. - 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
Prop | Description |
---|---|
embed | The embed url, like https://demo.disqus.com/embed.js, required |
url | The page url |
class | The class name of the container |
style | The style of the container |