Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/breakfast-studio/lunchboxjs

Declarative ThreeJS via web components
https://github.com/breakfast-studio/lunchboxjs

3d custom-elements three-js threejs web-components

Last synced: 6 days ago
JSON representation

Declarative ThreeJS via web components

Awesome Lists containing this project

README

        

Lunchbox 2 lets you write [ThreeJS](https://threejs.org/) scenes using [web components](https://developer.mozilla.org/en-US/docs/Web/API/Web_components). You can use it in any (or no) framework.

```html




```

## Docs

[Install](https://docs.lunchboxjs.com/install.html)

[Full docs](https://docs.lunchboxjs.com/)

## About

Lunchbox started as a Vue + ThreeJS custom renderer, but from version 2 on will be focused on web components built into browsers.

## Local Dev

`npm install`, then `npm run dev` to run dev server. From there, edit source code in the LunchboxJS package's `/src/...` and examples in `/index.html/...` to build and test features.

`npm run test` to run headless tests, `npm run cy:open` to open Cypress test suites.

`npm run docs:dev` to run docs locally.

## Publishing

`npm run test` to make sure all tests pass, then `npm run publish`.