Have ideas to improve npm?Join in the discussion! »

    vue-carbonbadge

    1.1.0 • Public • Published

    vue-carbonbadge

    Vue component for the Website Carbon badge.

    Installation

    npm install vue-carbonbadge
    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

    102

    Version

    1.1.0

    License

    MIT

    Unpacked Size

    760 kB

    Total Files

    9

    Last publish

    Collaborators

    • avatar