live_view_example
crystal_live_view_example
Proof of concept for a Crystal version of Phoenix Live View
Installation
git clone https://github.com/jgaskins/crystal_live_view_example.git
Usage
crystal src/live_view_example.cr
Then point your browser to http://localhost:8080/
You should see an increasing timestamp and
Development
All of the plumbing is in src/live_view.cr
and public/live-view.js
.
Contributing
- Fork it (https://github.com/jgaskins/crystal_live_view_example/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- Jamie Gaskins - creator and maintainer