Files
newfreeplanet_OLD/src/components/CFundRaising/CFundRaising.ts
2022-09-24 20:21:29 +02:00

35 lines
736 B
TypeScript
Executable File

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'
import { LandingFooter, Logo } from '@components'
import { IMyPage } from 'model'
export default defineComponent({
name: 'CFundRaising',
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,
}
},
})