alvarosabu 42ee984249 feat(core): types for TresCanvas 2 năm trước cách đây
..
.vscode 286ac4ccea Hola mundo 🍩🪐 2 năm trước cách đây
public 2704288fd8 feat(cientos): useAnimations 2 năm trước cách đây
src 42ee984249 feat(core): types for TresCanvas 2 năm trước cách đây
.gitignore 286ac4ccea Hola mundo 🍩🪐 2 năm trước cách đây
README.md 286ac4ccea Hola mundo 🍩🪐 2 năm trước cách đây
components.d.ts 286ac4ccea Hola mundo 🍩🪐 2 năm trước cách đây
index.html 286ac4ccea Hola mundo 🍩🪐 2 năm trước cách đây
package.json c019867e42 chore: test for catalogue 2 năm trước cách đây
stats.html 286ac4ccea Hola mundo 🍩🪐 2 năm trước cách đây
tsconfig.json dbd65bce25 feat: draft of tests 2 năm trước cách đây
tsconfig.node.json dbd65bce25 feat: draft of tests 2 năm trước cách đây
vite.config.ts 2390ec1a75 feat(core): provide inject worked again 2 năm trước cách đây

README.md

@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