Files
salvato.newfreeplanet/src/views/ecommerce/checkOut/checkOut.ts

43 lines
1.1 KiB
TypeScript
Raw Normal View History

import { defineComponent, onMounted, ref, computed } from 'vue'
2023-11-27 16:27:05 +01:00
import { tools } from '@store/Modules/tools'
import { useUserStore } from '@store/UserStore'
import { useRouter } from 'vue-router'
import { useGlobalStore } from '@store/globalStore'
import { useProducts } from '@store/Products'
import { useI18n } from '@/boot/i18n'
import { toolsext } from '@store/Modules/toolsext'
import { useQuasar } from 'quasar'
import { costanti } from '@costanti'
2023-12-27 02:58:23 +01:00
import { ICart, IOrder, IOrderCart, IProduct, IShareWithUs } from '@src/model/Products'
2023-11-27 14:40:42 +01:00
2023-11-27 16:27:05 +01:00
import { shared_consts } from '@src/common/shared_vuejs'
2023-11-27 14:40:42 +01:00
import { CSingleCart } from '../../../components/CSingleCart'
2024-01-09 15:32:21 +01:00
import { CCart } from '../../../components/CCart'
2023-11-27 14:40:42 +01:00
import { CTitleBanner } from '@components'
2023-11-27 16:27:05 +01:00
export default defineComponent({
2023-11-27 14:40:42 +01:00
name: 'checkOut',
2024-01-09 15:32:21 +01:00
components: { CSingleCart, CTitleBanner, CCart },
2023-11-27 16:27:05 +01:00
props: {},
setup() {
const userStore = useUserStore()
const { t } = useI18n();
function mounted() {
2024-01-09 15:32:21 +01:00
// Inizializza
}
2023-11-27 16:27:05 +01:00
onMounted(mounted)
return {
userStore,
costanti,
tools,
toolsext,
shared_consts,
2024-01-09 15:32:21 +01:00
t,
2023-11-27 16:27:05 +01:00
}
2023-11-27 14:40:42 +01:00
}
2023-11-27 16:27:05 +01:00
})