Skip to content

Latest commit

 

History

History
52 lines (40 loc) · 625 Bytes

File metadata and controls

52 lines (40 loc) · 625 Bytes

docusaurus-plugin-smartlook

Plugin to enable Smartlook with Docusaurus

Installation

NPM

npm i docusaurus-plugin-smartlook

YARN

yarn add docusaurus-plugin-smartlook

Setup

Add to plugins in docusaurus.config.js:

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

Add your Smartlook projectKey to themeConfig in the docusaurus.config.js file:

{
  themeConfig: {
    smartlook: {
      projectKey: SMARTLOOK_PROJECT_KEY,
    },
    ...
  }
}