Vue Element: GitHub Corners – Vue.js Nourished

.vue-gh-corners.The Vue GitHub Corners compoenent, performs what its label says, sets up github corners! It feels like tholman’s GitHub Corners but also for Vue.To look at this straightforward demo go to https://gluons.github.io/vue-gh-corners/.Example.Setup.Via NPM:.npm set up– spare vue-gh-corners.Via Yarn:.yarn add vue-gh-corners.Usage.import Vue from ‘vue’.bring in VueGitHubCorners coming from ‘vue-gh-corners’.// Import GitHub Corners stylesheet.import ‘vue-gh-corners/dist/vue-github-corners. css’.Vue.use( VueGitHubCorners).In your component’s theme.

The repo set sets to the repo you would like to head when clicking on the octocat as well as the colours can be prepared effortlessly as shown above.Straightforward! The reposistory of this particular small task can be discovered listed here.