Files
newfreeplanet_OLD/src/components/CMainView/CMainView.ts

27 lines
658 B
TypeScript
Raw Normal View History

import { defineComponent, ref, computed, PropType, toRef } from 'vue'
import { useUserStore } from '@store/UserStore'
import { useRouter } from 'vue-router'
import { useGlobalStore } from '@store/globalStore'
import { useI18n } from '@/boot/i18n'
import { tools } from '@store/Modules/tools'
import { CBigBtn } from '@/components/CBigBtn'
export default defineComponent({
name: 'CMainView',
components: { CBigBtn },
props: {},
setup(props, { emit }) {
const userStore = useUserStore()
const $router = useRouter()
const globalStore = useGlobalStore()
const { t } = useI18n()
return {
userStore,
tools,
}
}
})