Alvaro eb0c516c61 fix(core): fixed camera aspect ratio and renderer container issues 2 vuotta sitten
..
.vscode 286ac4ccea Hola mundo 🍩🪐 2 vuotta sitten
public 0e130514b0 feat(cientos): text3d base 2 vuotta sitten
src eb0c516c61 fix(core): fixed camera aspect ratio and renderer container issues 2 vuotta sitten
.gitignore 286ac4ccea Hola mundo 🍩🪐 2 vuotta sitten
CHANGELOG.md 42e50ef97f chore: Release v1.4.0 2 vuotta sitten
README.md 286ac4ccea Hola mundo 🍩🪐 2 vuotta sitten
components.d.ts 286ac4ccea Hola mundo 🍩🪐 2 vuotta sitten
histoire.config.ts 286ac4ccea Hola mundo 🍩🪐 2 vuotta sitten
histoire.setup.ts c1da08279e feat(core): extend functionality 2 vuotta sitten
index.html 286ac4ccea Hola mundo 🍩🪐 2 vuotta sitten
package.json bd0ad36d20 chore: release cientos v1.3.0 2 vuotta sitten
stats.html 286ac4ccea Hola mundo 🍩🪐 2 vuotta sitten
tsconfig.json 286ac4ccea Hola mundo 🍩🪐 2 vuotta sitten
tsconfig.node.json 286ac4ccea Hola mundo 🍩🪐 2 vuotta sitten
vite.config.ts 7e8de9c4b4 fix: added copyPublicDir: false to remove static assets on package 2 vuotta sitten

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