added dotenv-webpack, vue.config.js + version to footer
This commit is contained in:
@@ -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>
|
||||
|
||||
|
Reference in New Issue
Block a user