mirror of
https://codeberg.org/uzu/strudel
synced 2026-07-13 06:19:33 -04:00
34176ab5f8
- 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/