Table summary of orders

This commit is contained in:
2024-07-12 17:11:52 +02:00
parent 200242252c
commit bbec759b08
16 changed files with 414 additions and 136 deletions

View File

@@ -1,10 +1,28 @@
<template>
<RouterView />
<Suspense>
<RouterView />
</Suspense>
</template>
<script setup lang="ts">
import './assets/style.scss'
import { RouterView } from 'vue-router'
import { watch } from 'vue'
import { getActivePinia } from 'pinia'
const pinia = getActivePinia();
if(pinia != undefined) {
watch(
pinia.state,
(state) => {
// persist the whole state to the local storage whenever it changes
localStorage.setItem('piniaState', JSON.stringify(state))
},
{ deep: true }
);
}
</script>
<style>