Skip to content

web editor to share documentation examples and play with small re-frame experiments

License

Notifications You must be signed in to change notification settings

day8/re-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

re-playground

Static web editor to share documentation code and mess around with small re-frame experiments! Try it here.

See the demos!

Code is livereloaded with the help of klipse plugin. The right-hand panel has the id 'app'. To render reagent into this panel, target the element with (js/document.getElementById 'app'). Here's a template (tbd) to get started with.

load from gist

To easily share re-frame sketches, you can save your code to a github gist and load it into this editor with the url param: gist-id=[github-username]/[gist-id]

For example: ?gist-id=daiyi/62db9d22136503a42cbbe5dc5ec0337d

The whole url would look something like:

https://day8.github.io/re-playground?gist-id=daiyi/62db9d22136503a42cbbe5dc5ec0337d

developing

Clone this project and enter the folder:

git clone [email protected]:day8/re-playground.git
cd re-playground

Serve the static page with python:

python -m SimpleHTTPServer

The page should be available at [http://localhost:8000]!

About

web editor to share documentation examples and play with small re-frame experiments

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Contributors 4

  •  
  •  
  •  
  •