Socket
Book a DemoInstallSign in
Socket

gatsby-plugin-commentator

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gatsby-plugin-commentator

This plugin adds comment feature to a GatsbyJS website.

Source
npmnpm
Version
0.1.2
Version published
Weekly downloads
6
Maintainers
1
Weekly downloads
 
Created
Source

Gatsby PLUGIN Commentator

This plugin adds comment feature to a GatsbyJS website.

Demo

See it here

Installation

npm install gatsby-plugin-commentator
// or
yarn add gatsby-plugin-commentator

Include it among the plugins in the gatsby-config.js file of a GatsbyJS website project folder.

module.exports = {
    plugins: [
        // ......
        {
            resolve: "gatsby-plugin-commentator",
            {website: "http://url-of-the-webiste.come"}
        }
    ]
}

Lastly, make a DOM element available at any component rendered with id="commentContainer"

<!-- Single post listing page -->
<section id="commentContainer"></section>

That's all!

NOTE.

To load fresh comments, the server has to be restarted.

Built with 💕💕💕 by Aleem Isiaka

Keywords

gatsby

FAQs

Package last updated on 03 Jun 2020

Did you know?

Socket

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