1.0.0 • Published 4 years ago
vuepress-theme-carbon v1.0.0
vuepress-theme-carbon
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
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 from your Carbon Ads tag;
carbonAds: {
serve: "yourServeId",
placement: "yourPlacementLabel"
},
// All the other themeConfig options from the default theme.
}
}
Credits
Thanks to Vuepress.
1.0.0
4 years ago