IntegrationsVuepress
Add Search Bar to VuePress
Integrate Inkeep's search bar into your VuePress documentation for powerful content discovery.
What is VuePress
VuePress a markdown-centered static site generator.
Get an API key
Follow these steps to create an API key for your web integration.
Load the script files
- Navigate to the
.vuepress
directory - Add the below scripts to the
config.js
file:
Create the addInkeep.js script
Create an addInkeep.js
file in your public/js
folder.
Create container for search bar
To create a container for the search bar component, navigate to your desired page and add the following code:
Configure the component
Next, configure the Inkeep widget:
For a full list of customizations, check out the Search Bar documentation.