Files
myprojplanet_vite/src/components/CFundRaising/CFundRaising.ts

36 lines
786 B
TypeScript
Raw Normal View History

import { defineComponent, ref, computed, PropType, toRef, onMounted, onBeforeUnmount } from 'vue'
import { useGlobalStore } from '@store/globalStore'
import { useI18n } from '@/boot/i18n'
import { tools } from '@store/Modules/tools'
2022-11-29 13:59:18 +01:00
import { LandingFooter } from '@/components/LandingFooter'
import { Logo } from '@/components/logo'
import { IMyPage } from 'model'
export default defineComponent({
name: 'CFundRaising',
2022-07-10 01:24:54 +02:00
components: {Logo, LandingFooter},
props: {},
setup() {
const { t } = useI18n();
const rec = ref<IMyPage | null>(null)
const globalStore = useGlobalStore()
async function created() {
rec.value = await globalStore.loadPage('/sostieni_il_progetto')
}
created()
return {
t,
tools,
rec,
}
},
})