<script setup lang="ts">
import { onMounted } from 'vue'

onMounted(() => {
    const __win = window as any
    const __sdk = (__win.__sdk = new __win.KanKan({
        num: 'KK-ljOlkLRg',
        // server: 'https://test.4dkankan.com',
        server: '/demoServer',
    }))
    __sdk.mount('#scene').render()
})
</script>

<template>
    <div id="scene"></div>
</template>

<style scoped>
#scene {
    width: 100vw;
    height: 100vh;
}
#scene-front {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
}
</style>
