- add
gem 'react-rails', '~> 1.6.0'toGemfileGithub link bundle installrails g react:install- rename directory from
../app/assets/javascripts/componentsto../app/assets/javascripts/react - change line from
//= require_tree ./componentsto//= require_tree ./react - add Lo-Dash to
vendor/assets/javascriptsdirectory- add
//= require lodashline tocomponents.jsfiles
- add
- add Alt (Github link), Alt (Flux)
- add
//= require altline tocomponents.js - create
app/assests/javascript/initialize.jsfile and add next linewindow.alt = new Alt() - add
//= require initializeline tocomponents.js
- add
- create
react/actionsandreact/storesdirectories
Last active
March 3, 2016 13:02
-
-
Save oleg-voloshyn/4a27e5fedd07446f53e5 to your computer and use it in GitHub Desktop.
install React, Lodash and Flux
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment