修复材质导出问题,添加库打包模式

This commit is contained in:
2025-04-15 09:35:54 +08:00
parent 0929d5b80c
commit cfbfda520d
11 changed files with 26706 additions and 116 deletions

View File

@@ -11,7 +11,7 @@
</template>
<script setup lang='ts'>
import { type Property } from 'csstype';
import type { Property } from 'csstype';
import { computed } from 'vue';
const props = withDefaults(defineProps<{

View File

@@ -13,6 +13,9 @@ import CfFlex from './CfFlex.vue';
const scene = useScene();
const container = useTemplateRef<HTMLElement>('container');
// 禁用右键菜单
document.addEventListener('contextmenu', (e) => e.preventDefault());
onMounted(() => {
scene.Initial(container.value);
});