enkapsulacja i uporządkowanie komponentów

This commit is contained in:
2023-07-10 13:47:09 +02:00
parent e532c9f2da
commit 073288c8a9
8 changed files with 230 additions and 143 deletions
+24
View File
@@ -0,0 +1,24 @@
<template>
<div>
<keep-alive>
<RealStockCard v-if="store.isRealStockListCardOpen" />
</keep-alive>
</div>
</template>
<script lang="ts">
import { defineComponent } from 'vue';
import { useStore } from '../../store';
import RealStockCard from '../cards/RealStockCard.vue';
export default defineComponent({
components: { RealStockCard },
data() {
return {
store: useStore(),
};
},
});
</script>
<style scoped></style>