暂无描述

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