Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gauravtiwari/browserify_on_rails

Browserify, ES6, React and Server rendering setup for Rails using browserify-rails and react-rails
https://github.com/gauravtiwari/browserify_on_rails

Last synced: 18 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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
```bash
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
```bash
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
```