Alvaro 5fa1fad710 release: cientos v1.1.0 2 年 前
..
.vscode 286ac4ccea Hola mundo 🍩🪐 2 年 前
public 0e130514b0 feat(cientos): text3d base 2 年 前
src 60023dd5ad fix: app.vue 2 年 前
.gitignore 286ac4ccea Hola mundo 🍩🪐 2 年 前
CHANGELOG.md 5fa1fad710 release: cientos v1.1.0 2 年 前
README.md 286ac4ccea Hola mundo 🍩🪐 2 年 前
components.d.ts 286ac4ccea Hola mundo 🍩🪐 2 年 前
histoire.config.ts 286ac4ccea Hola mundo 🍩🪐 2 年 前
histoire.setup.ts c1da08279e feat(core): extend functionality 2 年 前
index.html 286ac4ccea Hola mundo 🍩🪐 2 年 前
package.json 5fa1fad710 release: cientos v1.1.0 2 年 前
stats.html 286ac4ccea Hola mundo 🍩🪐 2 年 前
tsconfig.json 286ac4ccea Hola mundo 🍩🪐 2 年 前
tsconfig.node.json 286ac4ccea Hola mundo 🍩🪐 2 年 前
vite.config.ts 8500c62389 fix: types 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