Skip to content

地球

效果展示

示例代码

vue
<template>
  <lunchbox :app="lunchboxApp" />
</template>

<script setup>
import { createApp, lunchbox  } from 'lunchboxjs'
import LunchboxApp from './LunchboxApp.vue'

const lunchboxApp = createApp(LunchboxApp)
// you can add plugins, etc here - for example:
// lunchboxApp.use(myPlugin)
// lunchboxApp.component(myComponent)
// lunchboxApp.provide(myProvide)
</script>

参考

用 Lunchbox 在 vue3 中创建一个旋转的 3D 地球竟是如此简单