mirror of
https://github.com/sahadev/vue-component-creater-ui.git
synced 2025-06-07 21:54:05 +08:00
feat: 增加star链接
This commit is contained in:
parent
96371f1475
commit
d9fdb1a188
13
package-lock.json
generated
13
package-lock.json
generated
@ -6351,6 +6351,11 @@
|
|||||||
"assert-plus": "^1.0.0"
|
"assert-plus": "^1.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"github-buttons": {
|
||||||
|
"version": "2.20.1",
|
||||||
|
"resolved": "https://r.cnpmjs.org/github-buttons/download/github-buttons-2.20.1.tgz",
|
||||||
|
"integrity": "sha512-UQpZJP7uVtbjy9vXuIMktmtoH9REy0V50iQnFQ56cyOqzDE8e/9WGedTMD8qVwp593Kyn+EKo2e4IKshoXBeZQ=="
|
||||||
|
},
|
||||||
"glob": {
|
"glob": {
|
||||||
"version": "7.2.0",
|
"version": "7.2.0",
|
||||||
"resolved": "https://r.cnpmjs.org/glob/download/glob-7.2.0.tgz",
|
"resolved": "https://r.cnpmjs.org/glob/download/glob-7.2.0.tgz",
|
||||||
@ -12807,6 +12812,14 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"vue-github-button": {
|
||||||
|
"version": "1.3.0",
|
||||||
|
"resolved": "https://r.cnpmjs.org/vue-github-button/download/vue-github-button-1.3.0.tgz",
|
||||||
|
"integrity": "sha1-pNoxejuT0Fgkdos5FqDSL6kWA74=",
|
||||||
|
"requires": {
|
||||||
|
"github-buttons": "^2.8.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"vue-hot-reload-api": {
|
"vue-hot-reload-api": {
|
||||||
"version": "2.3.4",
|
"version": "2.3.4",
|
||||||
"resolved": "https://r.cnpmjs.org/vue-hot-reload-api/download/vue-hot-reload-api-2.3.4.tgz",
|
"resolved": "https://r.cnpmjs.org/vue-hot-reload-api/download/vue-hot-reload-api-2.3.4.tgz",
|
||||||
|
@ -53,6 +53,7 @@
|
|||||||
"view-design": "^4.3.2",
|
"view-design": "^4.3.2",
|
||||||
"vue": "^2.6.14",
|
"vue": "^2.6.14",
|
||||||
"vue-codemirror": "^4.0.6",
|
"vue-codemirror": "^4.0.6",
|
||||||
|
"vue-github-button": "^1.3.0",
|
||||||
"vue-nestable": "^2.6.0",
|
"vue-nestable": "^2.6.0",
|
||||||
"vue-router": "^3.4.9",
|
"vue-router": "^3.4.9",
|
||||||
"vuex": "^3.1.2"
|
"vuex": "^3.1.2"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="top-tools-bar">
|
<div class="top-tools-bar">
|
||||||
|
|
||||||
<el-row :gutter="20">
|
<el-row :gutter="22">
|
||||||
<el-col :span="3">
|
<el-col :span="3">
|
||||||
<div class="edit">
|
<div class="edit">
|
||||||
<el-tooltip class="item" effect="dark" content="ctrl + z" placement="bottom-start">
|
<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
|
<el-link type="primary" @click="$emit('structureVisible')">Inspect Components
|
||||||
Structure</el-link>
|
Structure</el-link>
|
||||||
</el-col>
|
</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>
|
</el-row>
|
||||||
|
|
||||||
<a href="https://github.com/sahadev/vue-component-creater-ui" class="github-corner" aria-label="View source on GitHub">
|
<a href="https://github.com/sahadev/vue-component-creater-ui" class="github-corner" aria-label="View source on GitHub">
|
||||||
@ -42,9 +45,11 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import GithubButton from 'vue-github-button'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
props: [],
|
props: [],
|
||||||
components: {},
|
components: { GithubButton },
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
previewMode: false,
|
previewMode: false,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user