Package Exports
- @stackql/docusaurus-plugin-hubspot
- @stackql/docusaurus-plugin-hubspot/src/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@stackql/docusaurus-plugin-hubspot) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
docusaurus-plugin-hubspot
Plugin to enable Hubspot with Docusaurus
Installation
NPM
npm i docusaurus-plugin-hubspotYARN
yarn add docusaurus-plugin-hubspotSetup
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
},
...
}
}