vue-carbonbadge

1.2.1 • Public • Published

vue-carbonbadge

Vue component for the Website Carbon badge.

Installation

via npm

npm install vue-carbonbadge

or via yarn

yarn add vue-carbonbadge

How To Use

1. Import the package into your main.js file

import CarbonBadge from 'vue-carbonbadge'
Vue.use(CarbonBadge)

2. Use it in your HTML markup

<footer>
    <CarbonBadge></CarbonBadge>
</footer>

3. You're done! 🎉

Customization

Toggling dark mode

<CarbonBadge :dark="true"></CarbonBadge>

If the dark property is not specified, dark mode is detected as per user system preferences.

Install

npm i vue-carbonbadge

DownloadsWeekly Downloads

24

Version

1.2.1

License

MIT

Unpacked Size

67.9 kB

Total Files

4

Last publish

Collaborators

  • niklashaug