mirror of
https://codeberg.org/uzu/strudel
synced 2026-09-06 15:11:02 -04:00
24 lines
637 B
Markdown
24 lines
637 B
Markdown
# Strudel Workshop
|
|
|
|
This may become a resource to teach strudel in workshop format.
|
|
|
|
## Install
|
|
|
|
From the root of the strudel repo:
|
|
|
|
```sh
|
|
npm i # install strudel project dependencies
|
|
cd workshop && npm i # install workshop dependencies
|
|
npm run dev # run dev server
|
|
```
|
|
|
|
This assumes you have node 16+ installed.
|
|
|
|
## How to write
|
|
|
|
While running the dev server, go to `workshop.mdx` to write!
|
|
When the file is saved, the browser will hot reload the file and reveal the changes instantly.
|
|
|
|
You can use normal markdown + JSX, which enables using the MiniRepl component.
|
|
You could also add any react component and import it to the mdx file.
|