1
0
mirror of https://github.com/sahadev/vue-component-creater-ui.git synced 2025-09-28 07:13:21 +08:00

feat: 增加star链接

This commit is contained in:
shangbin
2021-11-25 14:25:00 +08:00
parent 96371f1475
commit d9fdb1a188
3 changed files with 21 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
<template>
<div class="top-tools-bar">
<el-row :gutter="20">
<el-row :gutter="22">
<el-col :span="3">
<div class="edit">
<el-tooltip class="item" effect="dark" content="ctrl + z" placement="bottom-start">
@@ -24,6 +24,9 @@
<el-link type="primary" @click="$emit('structureVisible')">Inspect Components
Structure</el-link>
</el-col>
<el-col :span="3">
<github-button href="https://github.com/sahadev/vue-component-creater-ui" data-icon="octicon-star" data-size="large" data-show-count="true" aria-label="Star sahadev/vue-component-creater-ui on GitHub">Star</github-button>
</el-col>
</el-row>
<a href="https://github.com/sahadev/vue-component-creater-ui" class="github-corner" aria-label="View source on GitHub">
@@ -42,9 +45,11 @@
</template>
<script>
import GithubButton from 'vue-github-button'
export default {
props: [],
components: {},
components: { GithubButton },
data() {
return {
previewMode: false,