🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more →
Socket
Book a DemoInstallSign in
Socket

@voxgig/podw-docusaurus

Package Overview
Dependencies
Maintainers
3
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@voxgig/podw-docusaurus

Docusaurus wrapper to use the Podmind widget

npmnpm
Version
0.9.1
Version published
Weekly downloads
1
Maintainers
3
Weekly downloads
 
Created
Source

Docusaurus Podmind Widget

Install

  • In your app root directory, run:
npm i @voxgig/podw-next
  • After the package is installed, import and add the lib component similar to the following:
import PodW from '@voxgig/podw-docusaurus'
import Head from '@docusaurus/Head';

import styles from './index.module.css';

export default function Home() {
  return (
    <>
      <div className={styles.container}>
        <h1>
          Podmind Test
        </h1>

        <PodW
          Head={Head}
          apikey="your-api-key"
         />
      </div>
    </>
  );
}

  • You must pass the following props:
  • Head - Docusaurus Head built-in component.
  • apikey - The API key provided by Voxgig.

Debugging

  • You can pass the prop debug to the lib component or directly into the widget element. To log widget properties:
<PodW
 Head={Head}
 apikey="your-api-key"
 debug='true'
/>
  • Resulting in a log similar to the:
apikey: "your-api-key"
debug: true
mark: "20e1a7d5"

FAQs

Package last updated on 13 Jun 2024

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