Instantly add Disqus Comments to your posts or pages using this package designed to work perfectly with Nuxt 3.
Nuxt Disqus provides a wrapper for vue3-disqus to be used with Nuxt 3
- 🔆Easy to integrate
- ⚡️Instantly usable components
DisqusCommentsandDisqusCount
-
Add
nuxt-disqusdependency to your projectnpx nuxi@latest module add disqus
-
Add
nuxt-disqusto themodulessection ofnuxt.config.tsexport default defineNuxtConfig({ modules: ["nuxt-disqus"], disqus: { shortname: "your-disqus-shortname", }, });
-
Place
DisqusCommentsanywhere in your app to render Disqus Comment thread for particularidentifier<DisqusComments identifier="/blog/1" />
-
Place
DisqusCountanywhere in your app to render Disqus Comment Count for particularidentifier<DisqusCount identifier="/blog/1" />
Example Output for
DisqusCountwill be:99 Comments
That's it! You can now use Disqus in your Nuxt app ✨
# Install dependencies
yarn install
# Generate type stubs
yarn run dev:prepare
# Develop with the playground
yarn run dev
# Build the playground
yarn run dev:build
# Run ESLint
yarn run lint
# Run Vitest
yarn run test
yarn run test:watch
# Release new version
yarn run release