Socket
Socket
Sign inDemoInstall

nuxt-disqus

Package Overview
Dependencies
181
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    nuxt-disqus

Disqus for Nuxt 3


Version published
Weekly downloads
114
decreased by-21.92%
Maintainers
1
Install size
50.6 MB
Created
Weekly downloads
 

Changelog

Source

v1.0.1

🏡 Chore

  • release: V1.0.1 (1fb6caa)
  • release: V1.0.2 (0dad953)
  • release: V1.0.1 (25fa1b1)

❤️ Contributors

  • Modbender rameshmamathayashas@gmail.com

Readme

Source

Disqus for Nuxt 3

npm version npm downloads License Nuxt

Nuxt Disqus provides a wrapper for vue3-disqus to be used with Nuxt 3

Features

  • 🔆Easy to integrate
  • ⚡️Instantly usable components DisqusComments and DisqusCount

Quick Setup

  1. Add nuxt-disqus dependency to your project

    # Using pnpm
    pnpm add -D nuxt-disqus
    
    # Using yarn
    yarn add --dev nuxt-disqus
    
    # Using npm
    npm install --save-dev nuxt-disqus
    
  2. Add nuxt-disqus to the modules section of nuxt.config.ts

    export default defineNuxtConfig({
      modules: ["nuxt-disqus"],
      disqus: {
        shortname: "your-disqus-shortname",
      },
    });
    
  3. Place DisqusComments anywhere in your app to render Disqus Comment thread for particular identifier

    <DisqusComments identifier="/blog/1" />
    
  4. Place DisqusCount anywhere in your app to render Disqus Comment Count for particular identifier

    <DisqusCount identifier="/blog/1" />
    

    Example Output for DisqusCount will be:

    99 Comments
    

That's it! You can now use Disqus in your Nuxt app ✨

Development

# 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

Keywords

FAQs

Last updated on 10 Jul 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc