Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 772 Bytes

installation.mdx

File metadata and controls

20 lines (14 loc) · 772 Bytes
category Getting Started
title Installation

import ManualInstallGuide from '$components/ManualInstallGuide/ManualInstallGuide.svelte'

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

[See this comment](#8 (comment)) for tips on how to reduce bundle size when working with bundlers like Vite and Three.js.