<template>
  <div id="root" ref="root-dom" class="w-100vw h-100vh"></div>
</template>

<script setup lang="ts">
import XSystem from '@/core/XSystem.ts'
import { onMounted, useTemplateRef } from 'vue'

const dom = useTemplateRef<HTMLDivElement>('root-dom')

onMounted(() => {
  XSystem.instance.initialization(dom.value!);
})
</script>

<style scoped>

</style>
