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,
},
...
}
}