mirror of
https://github.com/eliasstepanik/strudel.git
synced 2026-01-11 13:48:40 +00:00
- dedupe flash / highlighting logic - codemirror logic now lives only in codemirror package - remove old highlighting logic - use codemirror package in react package - cleanup CodeMirror6.jsx - pull setMiniLocations into useHighlighting - migrate MiniRepl, nano-repl + Repl to new highlighting
nano-repl
this is an example of how to create a repl with strudel and react.
Usage
after cloning the strudel repo:
pnpm i
cd packages/react/examples/nano-repl
pnpm dev
you should now have a repl running at http://localhost:5173/