vuepress-theme-carbon
June 15, 2020 ยท View on GitHub

Inspired from the Carbon Ads integration in the official vuepress documentation and its source code, this theme extends the default vuepress theme with a Carbon Ads slot in the sidebar.
Demo / Example
- @nuxtjs/firebase Documentation - See top left corner
Install
yarn add vuepress-theme-carbon -D
# OR npm install vuepress-theme-carbon -D
Usage
// .vuepress/config.js
module.exports = {
theme: 'carbon',
themeConfig: {
// Your ad ID and placement label from your Carbon Ads tag:
carbonAds: {
serve: "yourServeId",
placement: "yourPlacementLabel"
},
// All the other options from the default theme:
// ...
}
}
See default theme config.
Credits
Thanks to Vuepress.
License
MIT - Pascal Luther