Using SolidJS Playground in custom docs
I'd like to use the solidjs playground for interactive documentation of my library. (Should I use sandpack instead?) I noticed that an old version of
solid-repl
has been published to npm, but it hasn't been updated in a year. Meanwhile solid-playground
seems to be chugging along, but it's not published.
How can I use solidjs playground (or an equivalent live code editor) for my documentation? Thanks in advance!2 Replies
Hi, the new playground is currently being integrated with
solid-site
, and, as far as I know, a new version of solid-repl
will be published when this integration is finished
You can clone the playground repo, and run npm build:lib
, and that should build the solid-repl
package, which you should just be able to import from your appThanks! I'll try that