theatre/packages/playground
2022-02-19 17:54:19 +01:00
..
devEnv playground now has a shared folder and a personal folder 2021-10-04 20:25:38 +02:00
src Create color prop (#64) 2022-02-19 17:54:19 +01:00
.gitignore Initial OSS commit 2021-06-18 13:05:06 +02:00
LICENSE Initial OSS commit 2021-06-18 13:05:06 +02:00
package.json Renamed @theatre/plugin-r3f to @theatre/r3f 2021-09-06 10:19:10 +02:00
README.md More contribution docs 2021-10-06 10:21:55 +02:00
tsconfig.json Renamed @theatre/plugin-r3f to @theatre/r3f 2021-09-06 10:19:10 +02:00

The playground

The playground is the quickest way to hack on the internals of Theatre. It uses a simple ESBuild config that builds all the related packages in one go, so you don't have to run a bunch of build commands separately to start developing.

How to use

Simply run yarn run serve in this folder to start the dev server.

The first time you run serve, an src/index.ts file will be created. This file is the entry point, and it won't be comitted to the repo, so you're free to change it.

There are some shared playgrounds in src/shared which are committed to the repo. You can make your own playgrounds in src/personal which will be .gitignored.