Getting Started
Installation
Install only what you need. three and @threlte/core are the minimum required to get going. The remaining packages can be added anytime.
@threlte/gltf doesn’t require installation, instead run it with npx.
The components generated by @threlte/gltf require @threlte/extras to be installed.
Choose the packages you want to use
Install the packages with npm, pnpm, yarn or any other package manager you prefer.
npm install three @threlte/core See this comment for tips on how to reduce bundle size when working with bundlers like Vite and Three.js.