git-widget
Widget for nuxt to display git info build

Installation
Add package yarn add @dewib/git-widget
Add the module to the modules
of your nuxt.config.js
export default {
modules: ['@dewib/git-widget']
}
Configure
export default {
gitWidget: {
html: true,
disabled: false
}
}
Usage
This module inject a plugin that expose the $dewib.gitWidget.hash
hash and $dewib.gitWidget.url
url inside Nuxt context.
<template>
<a :href="$dewib.gitWidget.url" target="_blank">Build hash: {{ $dewib.gitWidget.hash.short }}</a>
</template>