added dotenv-webpack, vue.config.js + version to footer

This commit is contained in:
2021-11-07 14:22:33 +01:00
committed by Giovanni Harting
parent 53799adc42
commit 233667c113
5 changed files with 44 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
<template>
<div class="footer bg-secondary text-center pt-5 pb-4">
<div class="footer bg-secondary text-center pt-4 pb-4">
<div class="icons pb-4">
<a aria-label="Git Link" class="gitea text-white" href="https://git.harting.dev/CSGOWTF" target="_blank">
<!-- <i class="bi bi-github"></i>-->
@@ -12,6 +12,7 @@
<p class="text-muted">For feedback open an <a class="text-decoration-none text-warning"
href="https://git.harting.dev/CSGOWTF/csgowtf/issues"
target="_blank">issue</a>.</p>
<p class="text-muted">Build-Version: <span class="text-white">{{ version }}</span></p>
</div>
</div>
</template>
@@ -19,6 +20,10 @@
<script>
export default {
name: "Footer",
setup() {
const version = process.env.VUE_APP_VERSION
return {version}
}
}
</script>