@simon_he/git-fork

git-fork


Keywords
git-fork, vue, git-fork-vue
License
MIT
Install
npm install @simon_he/git-fork@0.1.4

Documentation

@simon_he/git-fork-vue

NPM version NPM version

目的

提供一个跳转到GitHub地址的小组件

灵感来源

参数

export interface Props {
  link: string ## GitHub地址
  position: 'left' | 'right' ## 组件位置
  content: string ## 组件内容
  color: string ## 组件背景颜色
  type: 'corners' | 'ribbons' | 'trapeziumType' ## 提供3种类型的组件
}

引入

import gitForkVue from "@simon_he/git-fork-vue";

使用

<gitForkVue
      link="https://github.com/Simon-He95"
      type="ribbons"
      position="left"
    />

Buy Me A Coffee

问题

issues

依赖

vueunocssvite-plugin-inspector-lib-css

react版本

@simon_he/git-fork-react