es6-rails gem example a rails app
- es6 in inline html(erb)
- es6 in remote es6 file
- es6 in assets as es6 file
-
setup with
bundle install
-
run
rails s
-
go to
http://localhost:3000/
and follow links
The fibonacci numbers will start showing one by one and in the browsers console it will say that the view is ready
.
- run tests with
rspec
The tests are ensuring that the es6-rails
gem is working correctly.