Skip to content

gauravtiwari/browserify_on_rails

Repository files navigation

Browserify on Rails example application (with server rendering)

Minimal and Simple setup to use Browserify with Rails asset pipeline using browserify-rails gem

Check out the app/assets/javascripts folder

components: Contains all react components splitted in directories (same namespace as rails views)
components.js: components manifest

Features

  • React with ES6 syntax
  • Babel transpiler
  • Basic ActionCable integration
  • NPM support

Running

git clone [email protected]:gauravtiwari/browserify_on_rails.git
cd browserify_on_rails
bundle install
npm install
chmod 777 start
./start
# Or Alternatively
bundle exec foreman start

About

Browserify, ES6, React and Server rendering setup for Rails using browserify-rails and react-rails

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published