alvarosabu 890f97e14c fix(core): added vueuse as peer dependency 2 anni fa
..
.vscode 286ac4ccea Hola mundo 🍩🪐 2 anni fa
public 2704288fd8 feat(cientos): useAnimations 2 anni fa
src 9f9bafb911 fix: colors in the events test app 2 anni fa
.gitignore 286ac4ccea Hola mundo 🍩🪐 2 anni fa
CHANGELOG.md 8d5f517bfc Release core v1.6.0 2 anni fa
README.md 286ac4ccea Hola mundo 🍩🪐 2 anni fa
components.d.ts 286ac4ccea Hola mundo 🍩🪐 2 anni fa
index.html 286ac4ccea Hola mundo 🍩🪐 2 anni fa
package.json 890f97e14c fix(core): added vueuse as peer dependency 2 anni fa
stats.html 286ac4ccea Hola mundo 🍩🪐 2 anni fa
tsconfig.json 286ac4ccea Hola mundo 🍩🪐 2 anni fa
tsconfig.node.json 286ac4ccea Hola mundo 🍩🪐 2 anni fa
vite.config.ts 6eb52472c5 docs: added groups docs 2 anni fa

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