I recently discovered: flems. https://flems.io
Which is a super-lightweight code-playground. A gem, if you ask me.
I included it in a styleguide with vuejs. It works like a charm.
The only thing to include is 1 html-file (in a script-tag. Nice trick in there. Sounds crazy, but that does the job)
Check this out: https://github.com/porsager/flems