You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
248 B
18 lines
248 B
1 year ago
|
<template>
|
||
|
<h3>{{ handleCount }}</h3>
|
||
|
</template>
|
||
|
|
||
|
<script setup>
|
||
|
import {computed} from "vue";
|
||
|
import {useStore} from "vuex";
|
||
|
|
||
|
const store = useStore()
|
||
|
|
||
|
const handleCount = computed(() => store.state.count);
|
||
|
|
||
|
</script>
|
||
|
|
||
|
<style scoped>
|
||
|
|
||
|
</style>
|