Nav apraksta

alvarosabu 2fb99e5a08 fix: remove unused import 2 gadi atpakaļ
.github 627495dae0 feat(ci): separate lint and unit test workflows 2 gadi atpakaļ
.vitepress f889fb250d feat: correct cientos branding 2 gadi atpakaļ
.vscode 42fa6e767e feat: sorted out hmr disposal of objects 2 gadi atpakaļ
docs c6e69357bf docs: alpha docs 2 gadi atpakaļ
playground 9c233a1328 chore: improved playground 2 gadi atpakaļ
plugins 9792c6e227 chore: no more monorepo for core 2 gadi atpakaļ
public 9792c6e227 chore: no more monorepo for core 2 gadi atpakaļ
src 2fb99e5a08 fix: remove unused import 2 gadi atpakaļ
.eslintignore cc11bc27c6 chore: fix linting 2 gadi atpakaļ
.eslintrc.cjs cc11bc27c6 chore: fix linting 2 gadi atpakaļ
.gitignore 9792c6e227 chore: no more monorepo for core 2 gadi atpakaļ
.npmrc 286ac4ccea Hola mundo 🍩🪐 2 gadi atpakaļ
.prettierrc.js 286ac4ccea Hola mundo 🍩🪐 2 gadi atpakaļ
.release-it.json 2e235a467a chore: fix before init script 2 gadi atpakaļ
CHANGELOG.md 6cf12a5bbc chore: release v2.0.0-alpha.3 2 gadi atpakaļ
CODE_OF_CONDUCT.md 4ff38e1829 docs: contribuiting and code of conduct guidelines 2 gadi atpakaļ
CONTRIBUTING.md d469c9004e docs: updated contributing docs 2 gadi atpakaļ
LICENSE 286ac4ccea Hola mundo 🍩🪐 2 gadi atpakaļ
README.md 9792c6e227 chore: no more monorepo for core 2 gadi atpakaļ
index.html 9792c6e227 chore: no more monorepo for core 2 gadi atpakaļ
netlify.toml 235768c0ca docs: added netlify and remove broken links 2 gadi atpakaļ
package.json 6cf12a5bbc chore: release v2.0.0-alpha.3 2 gadi atpakaļ
pnpm-lock.yaml 55e57ba2c9 chore: bump cientos to latest alpha 2 gadi atpakaļ
stats.html 9792c6e227 chore: no more monorepo for core 2 gadi atpakaļ
tsconfig.json 9792c6e227 chore: no more monorepo for core 2 gadi atpakaļ
tsconfig.node.json 9792c6e227 chore: no more monorepo for core 2 gadi atpakaļ
vite.config.ts 1fb06333a8 chore: auto import 2 gadi atpakaļ

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