A Vue 2 single-file component that adds customizable GitHub-style 'Fork me on GitHub' ribbons to your Vue app. Version 1.0.1 is the initial and only release, published as a UMD module with optional support for browser script tags via unpkg. It offers props for text, URL, position (right/left top/bottom), fixed positioning, and background color with automatic text contrast based on luminance. This is a simple, zero-dependency component for Vue 2 only and is not compatible with Vue 3 without adaption.
npm install vue-ribbonNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates importing the Ribbon component and using all props in a Vue 2 single-file component.
Use Vue 2 or find a Vue 3 alternative.
Use <vue-ribbon> in templates after script tag import.
Create a ambient declaration file for the module.
Always set the 'url' prop to your GitHub repo.
Add 'Ribbon' to your components option or use Vue.component('Ribbon', Ribbon).Use 'import Ribbon from 'vue-ribbon'' instead of '{ Ribbon }'.No dependency data recorded yet.