The Vuepress Plugin for Panelbear Analytics.
Run the following command to install in your project:
npm install --dev @panelbear/vuepress-plugin-panelbear
Or with yarn:
yarn add --dev @panelbear/vuepress-plugin-panelbear
You can now add the Panelbear plugin to your project's site or theme config file (.vuepress/config.js
). Simply include Panelbear in the plugins section:
module.exports = {
plugins: [
[
'@panelbear/vuepress-plugin-panelbear',
{
site: '', // Your Site ID
debug: false, // Enable if you wish to send events from localhost / log to console
},
],
],
// Other Vuepress config
};
The Site ID of your Panelbear website.
- Required: true
- Type:
string
- Default:
undefined
Enable debug mode on your Panelbear installation.
- Required: false
- Type:
bool
- Default:
undefined
- Initial open source release.
If you discover any issue regarding security, please disclose the information responsibly by following the instructions here. Do NOT create a Issue on the GitHub repo.
Please check for any existing issues before openning a new Issue. If you'd like to work on something, please open a new Issue describing what you'd like to do before submitting a Pull Request.
See LICENSE.