/vuepress-theme-carbon

Vuepress default theme with support for Carbon Ads.

Primary LanguageVueMIT LicenseMIT

vuepress-theme-carbon

Downloads Version License

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 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