create-base-teek-theme
Version:
``` npm create base-teek-theme@latest my-first-blog ```
54 lines (34 loc) • 648 B
Markdown
date: 2025-03-27 00:30:07
title: GithubCorner
permalink: /pages/aa29be
tags:
- vue组件
author:
name: 华总
link: https://xiaoying.org.cn
categories:
- 使用指南
- 基础组件
## 说明
Github角标
## 使用
```vue
<script setup lang="ts">
import { GithubCorner } from "liyao-vue-common"
</script>
<template>
// 需要自己写css确定要放的位置, href为跳转的链接
<GithubCorner :href="'https://github.com'"/>
</template>
```
## 参数
```typescript
const props = defineProps({
href: {
type: String,
default: '',
}
})
```