mirror of https://github.com/astral-sh/ruff
15 lines
523 B
Markdown
15 lines
523 B
Markdown
# playground
|
|
|
|
In-browser playground for Ruff. Available [https://play.ruff.rs/](https://play.ruff.rs/).
|
|
|
|
## Getting started
|
|
|
|
- To build the WASM module, run `wasm-pack build ../crates/ruff_wasm --target web --out-dir ../../playground/src/pkg`
|
|
from the `./playground` directory.
|
|
- Install TypeScript dependencies with: `npm install`.
|
|
- Start the development server with: `npm run dev`.
|
|
|
|
## Implementation
|
|
|
|
Design based on [Tailwind Play](https://play.tailwindcss.com/). Themed with [`ayu`](https://github.com/dempfi/ayu).
|