@tresjs/core ▲ ■ ●
Declarative ThreeJS using Vue Components
- 💡 Build 3D scene as they were Vue components
- ⚡️ Powered by Vite
- 🥰 It brings all the updated features of ThreeJS right awayregardless the version
- 🦾 Fully Typed
Tres (Spanish word for "three", pronounced /tres/
) is a way of creating ThreeJS scenes with Vue components in a declarative fashion. Think of it as a React-three-fiber or Lunchbox but without the need of a custom Vue3 Renderer.
Setup
pnpm install --shamefully-hoist
Dev
To run the small playground without Histoire use
pnpm run dev
Histoire
All local demos will be inside Histoire stories.
pnpm run story:dev
Build lib
To build the core as library mode just use
pnpm run build