AndyObtiva / glimmer-dsl-web-standalone-demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Standalone Demo of Glimmer DSL for Web

This is a demo of Glimmer DSL for Web without the need to run inside a rails app or any app. It is usable in a static site. Rails is currently still a dependency because opal-rails is included in glimmer-dsl-web, but it is technically not necessary.

How to use:

Make your changes to script.js.rb

bundle install
ruby app.rb

Then open index.html.

For your convience, I included filewatcher.rb which can be used to automatically regenerate the javascript file on edits to the code.

About

License:MIT License


Languages

Language:Ruby 88.5%Language:HTML 11.5%