feat(devBuild): added app's version to the footer

This commit is contained in:
Guz
2022-01-25 13:01:21 -03:00
parent 6f3447e89c
commit 7bb6025c80
2 changed files with 19 additions and 2 deletions

View File

@@ -1,6 +1,8 @@
<template>
<div class="footer">
<p>
Version: {{ version }}
<br />
<a href="http://github.com/ProjectLored/ToToday.app" target="_blank">
(c) 2022 Project Lored &bull; MIT License
</a>
@@ -11,6 +13,18 @@
</div>
</template>
<script lang="ts">
import Vue from 'vue';
import appInfo from '~~/package.json';
export default Vue.extend({
name: 'PageFooter',
data() {
return {version: appInfo.version};
}
});
</script>
<style scoped lang="scss">
@import '~assets/styles/_variables.scss';
@import '~assets/styles/_mixins.scss';

View File

@@ -5,6 +5,7 @@
"moduleResolution": "Node",
"lib": ["ESNext", "ESNext.AsyncIterable", "DOM"],
"esModuleInterop": true,
"resolveJsonModule": true,
"allowJs": true,
"sourceMap": true,
"strict": true,
@@ -12,8 +13,10 @@
"experimentalDecorators": true,
"baseUrl": ".",
"paths": {
"~/*": ["./*"],
"@/*": ["./*"]
"~/*": ["./src/*"],
"@/*": ["./src/*"],
"~~/*": ["./*"],
"@@/*": ["./*"]
},
"types": ["@nuxt/types", "@types/node"]
},