feat: Add automatic version.js generation

This commit is contained in:
2024-06-22 12:01:59 -04:00
parent cb3c1ab05f
commit 68c242ae81
7 changed files with 38 additions and 12 deletions

View File

@@ -11,7 +11,7 @@
<q-toolbar-title>{{ pageTitle }}</q-toolbar-title>
<q-space />
<div>v{{ VERSION }}</div>
<div>v{{ APP_VERSION }}</div>
</q-toolbar>
</q-header>
<LeftDrawer
@@ -22,8 +22,7 @@
<script setup lang="ts">
import { ref } from 'vue';
import LeftDrawer from 'components/LeftDrawer.vue';
const VERSION = process.env.VUE_APP_VERSION;
import APP_VERSION from 'version.js';
const leftDrawerOpen = ref(false);
function toggleLeftDrawer() {