# @tres/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](https://docs.pmnd.rs/react-three-fiber) or [Lunchbox](https://github.com/breakfast-studio/lunchboxjs) but without the need of a [custom Vue3 Renderer](https://vuejs.org/api/custom-renderer.html).

## 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](https://histoire.dev/) stories.

```
pnpm run story:dev
```

## Build lib

To build the core as library mode just use

```
pnpm run build
```
