1
0

feat: port config store to pinia

This commit is contained in:
Dominik Pschenitschni
2022-09-21 02:21:22 +02:00
parent 9e8c429864
commit a737fc5bc2
21 changed files with 93 additions and 68 deletions

View File

@ -34,8 +34,9 @@
<script setup lang="ts">
import {computed} from 'vue'
import { store } from '@/store'
import {VERSION as frontendVersion} from '@/version.json'
import {useConfigStore} from '@/stores/config'
const apiVersion = computed(() => store.state.config.version)
const configStore = useConfigStore()
const apiVersion = computed(() => configStore.version)
</script>