🚀 DAY 2 OF LAUNCH WEEK: Unify Your Security Stack with Socket Basics.Learn more →
Socket
Book a DemoInstallSign in
Socket

@voxgig/podw-docusaurus

Package Overview
Dependencies
Maintainers
0
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

latest
npmnpm
Version
1.0.2
Version published
Maintainers
0
Created
Source

Docusaurus Podmind Widget

Install

  • In your app root directory, run:
npm i @voxgig/podw-docusaurus
  • 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';

export default function YourComponent() {
  return (
    <PodW
      Head={Head}
      apikey="your-api-key"
     />
  );
}
  • You must pass the following props:
    • Head - Docusaurus Head built-in component.
    • apikey - The API key provided by Voxgig.

Debugging

  • To log widget properties, you can pass the prop debug to the lib component:
<PodW
 Head={Head}
 apikey="your-api-key"
 debug="true"
/>
  • Resulting in a log similar to the following:
apikey: "your-api-key"
debug: true
mark: "20e1a7d5"

FAQs

Package last updated on 17 Jul 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