outstock_nuxt3/app.vue

20 lines
323 B
Vue
Raw Normal View History

2023-08-01 11:11:43 +00:00
<template>
<NuxtPage></NuxtPage>
</template>
<script lang="ts">
import { defineComponent } from 'vue';
import { useCartStore } from './store/useCart';
export default defineComponent({
setup() {
const state = useCartStore();
return {state}
},
created(){
this.state.get_cart_products;
}
})
</script>