@stackql/docusaurus-plugin-hubspot

1.1.0 • Public • Published

docusaurus-plugin-hubspot

Plugin to enable Hubspot with Docusaurus

Installation

NPM

npm i docusaurus-plugin-hubspot
YARN

yarn add docusaurus-plugin-hubspot

Setup

Add to plugins in docusaurus.config.js:

{
  plugins: [
    'docusaurus-plugin-hubspot',
    ...
  ]
}

Add your Hubspot configuration to themeConfig in the docusaurus.config.js file:

{
  themeConfig: {
    hubspot: {
      accountId: HUBSPOT_ACCOUNT_ID,
      async: boolean, // OPTIONAL: sets the async attribute on the script tag, defaults to false
      defer: boolean, // OPTIONAL: sets the defer attribute on the script tag, defaults to false     
    },
    ...
  }
}

Package Sidebar

Install

npm i @stackql/docusaurus-plugin-hubspot

Weekly Downloads

344

Version

1.1.0

License

MIT

Unpacked Size

3.97 kB

Total Files

4

Last publish

Collaborators

  • fabioyycdev
  • jeffreyaven