Няма описание

alvarosabu c07d963bd5 fix: ensure parent for nodeOps target when key is a function преди 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 ed79752fdc chore: fix lint преди 2 години
plugins 9792c6e227 chore: no more monorepo for core преди 2 години
public 9792c6e227 chore: no more monorepo for core преди 2 години
src c07d963bd5 fix: ensure parent for nodeOps target when key is a function преди 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 f98262e16d chore: release v2.0.0-alpha.2 преди 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 f98262e16d chore: release v2.0.0-alpha.2 преди 2 години
pnpm-lock.yaml 17a808021f chore: playground преди 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