tldraw/README.md

61 lines
1.4 KiB
Markdown
Raw Normal View History

2021-06-21 21:35:28 +00:00
# tldraw
2021-05-09 12:03:39 +00:00
2021-07-08 08:39:27 +00:00
A tiny little drawing app.
2021-07-01 16:46:01 +00:00
Visit [tldraw.com](https://tldraw.com/).
2021-07-08 08:39:27 +00:00
## Author
- [steveruizok](https://twitter.com/steveruizok)
- ...and more!
2021-07-01 16:46:01 +00:00
## Support
To support this project (and gain access to the project while it is in development) you can [sponsor the author](https://github.com/sponsors/steveruizok) on GitHub. Thanks!
## Documentation
2021-08-13 14:46:55 +00:00
In progress! Check the README files in packages/core and packages/tldraw.
- [@tldraw/core example](https://codesandbox.io/s/tldraw-core-example-88c74)
- [@tldraw/tldraw example](https://codesandbox.io/s/tldraw-example-n539u)
2021-07-01 16:46:01 +00:00
## Local Development
2021-08-13 13:33:38 +00:00
### The tldraw packages
To work on the packages (@tldraw/core or @tldraw/tldraw), you'll want to run the (extremely fast) package dev server.
2021-08-13 13:31:27 +00:00
2021-07-01 16:46:01 +00:00
1. Download or clone the repository.
```bash
git clone https://github.com/tldraw/tldraw.git
```
2. Install dependencies.
```bash
yarn
```
3. Start the development server.
```bash
2021-08-13 13:31:27 +00:00
yarn start
2021-07-01 16:46:01 +00:00
```
2021-08-13 13:31:27 +00:00
4. Open the local site at `https://localhost:5000`.
2021-07-01 16:46:01 +00:00
2021-08-13 13:33:38 +00:00
### The tldraw app
To work on the app itself (that embeds @tldraw/tldraw), run the Next.js app. This won't directly respond to changes to packages, so for concurrent package dev work be sure to use the package dev server instead. (This is being worked on.)
1. Start the development server.
2021-07-01 16:46:01 +00:00
2021-08-13 13:31:27 +00:00
```bash
yarn start:www
```
2021-08-13 13:33:38 +00:00
2. Open the local site at `https://localhost:3000`.