alvarosabu 03c1a88d25 feat(nuxt): runtime plugin add provides there пре 2 година
..
.vscode 286ac4ccea Hola mundo 🍩🪐 пре 2 година
build 60d44a5a7e feat(core): gl and canvas testing пре 2 година
public 2704288fd8 feat(cientos): useAnimations пре 2 година
src 03c1a88d25 feat(nuxt): runtime plugin add provides there пре 2 година
.gitignore 286ac4ccea Hola mundo 🍩🪐 пре 2 година
README.md 286ac4ccea Hola mundo 🍩🪐 пре 2 година
components.d.ts 286ac4ccea Hola mundo 🍩🪐 пре 2 година
index.html 286ac4ccea Hola mundo 🍩🪐 пре 2 година
package.json 03c1a88d25 feat(nuxt): runtime plugin add provides there пре 2 година
stats.html 286ac4ccea Hola mundo 🍩🪐 пре 2 година
tsconfig.json dbd65bce25 feat: draft of tests пре 2 година
tsconfig.node.json dbd65bce25 feat: draft of tests пре 2 година
vite.config.ts 65629e7ed7 feat(core): basic unit test for raycasters пре 2 година

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