Skip to content

Commit

Permalink
chore: no more monorepo for core
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarosabu committed Mar 21, 2023
1 parent 0e28f56 commit 9792c6e
Show file tree
Hide file tree
Showing 172 changed files with 60,707 additions and 8,275 deletions.
31 changes: 23 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,25 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local
coverage

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
apps/.DS_Store
packages/.DS_Store
.pnpm-store/
# Local Netlify folder
.netlify
docs/.vitepress/dist
docs/.vitepress/cache/
apps/love-vue-threejs/
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
48 changes: 21 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,46 +1,40 @@
![repository-banner.png](/public/github-banner.png)

<p align="center">
<a href="https://www.npmjs.com/package/@tresjs/core"><img src="https://img.shields.io/npm/v/@tresjs/core?color=%2382DBCA" alt="npm package"></a>
<a href="https://nodejs.org/en/about/releases/"><img src="https://img.shields.io/node/v/@tresjs/core.svg" alt="node compatibility"></a>
<a href="https://discord.gg/tfY9aSNT"><img src="https://img.shields.io/badge/chat-discord-purple?style=flat&logo=discord" alt="discord chat"></a>
</p>
<br/>

# Tres
# @tresjs/core ▲ ■ ●

> Declarative ThreeJS using Vue Components
- 💡 Build a 3D scene working only with 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).

## Packages

| Package | Version (click for changelogs) |
| --------------------------- | :--------------------------------------------------------------------------------------------------------------------------- |
| [Tres](packages/tres) | [![tres version](https://img.shields.io/npm/v/@tresjs/core.svg?label=%20&color=%2382DBCA)](packages/tres/CHANGELOG.md) |
| [Cientos](packages/cientos) | [![tres version](https://img.shields.io/npm/v/@tresjs/cientos.svg?label=%20&color=%23f19b00)](packages/cientos/CHANGELOG.md) |
## Setup

## Docs
```
pnpm install --shamefully-hoist
```

Checkout the [docs](https://tresjs.org)
## Dev

## Demos
To run the small playground without Histoire use

- [Stackblitz Collection](https://stackblitz.com/@alvarosabu/collections/tresjs)
```
pnpm run dev
```

## Contribution
## Histoire

We are open to contributions, please read the [contributing guide](/CONTRIBUTING.md) to get started.
All local demos will be inside [Histoire](https://histoire.dev/) stories.

## License
```
pnpm run story:dev
```

[MIT](/LICENSE)
## Build lib

## Sponsors
To build the core as library mode just use

Be the first to support this project [here](https://github.com/sponsors/alvarosabu) ☺️
```
pnpm run build
```
24 changes: 0 additions & 24 deletions apps/playground/.gitignore

This file was deleted.

3 changes: 0 additions & 3 deletions apps/playground/.vscode/extensions.json

This file was deleted.

18 changes: 0 additions & 18 deletions apps/playground/README.md

This file was deleted.

13 changes: 0 additions & 13 deletions apps/playground/index.html

This file was deleted.

23 changes: 0 additions & 23 deletions apps/playground/package.json

This file was deleted.

32 changes: 0 additions & 32 deletions apps/playground/src/App.vue

This file was deleted.

1 change: 0 additions & 1 deletion apps/playground/src/assets/vue.svg

This file was deleted.

38 changes: 0 additions & 38 deletions apps/playground/src/components/HelloWorld.vue

This file was deleted.

5 changes: 0 additions & 5 deletions apps/playground/src/main.ts

This file was deleted.

11 changes: 0 additions & 11 deletions apps/playground/src/style.css

This file was deleted.

1 change: 0 additions & 1 deletion apps/playground/src/vite-env.d.ts

This file was deleted.

18 changes: 0 additions & 18 deletions apps/playground/tsconfig.json

This file was deleted.

9 changes: 0 additions & 9 deletions apps/playground/tsconfig.node.json

This file was deleted.

7 changes: 0 additions & 7 deletions apps/playground/vite.config.ts

This file was deleted.

Loading

0 comments on commit 9792c6e

Please sign in to comment.