赞
踩
简单的说,就是基于THREEJS封装的能在vue3中使用的一个组件,可以像使用组件的方式去创建场景和模型。优势就是可以快速创建场景和要素的添加,并且能很明确知道创景中的要素构成和结构。
npx create-vite@latest
# 选择 vue typescript
pnpm i @tresjs/core @tresjs/cientos three
pnpm i @types/three -D
在vite.config.ts中添加
import {
defineConfig }
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。