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: 2 months ago
JSON representation
Browserify, ES6, React and Server rendering setup for Rails using browserify-rails and react-rails
- Host: GitHub
- URL: https://github.com/gauravtiwari/browserify_on_rails
- Owner: gauravtiwari
- Created: 2016-04-13T09:10:25.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-08-23T11:55:53.000Z (almost 9 years ago)
- Last Synced: 2025-03-31T04:11:15.133Z (3 months ago)
- Language: Ruby
- Size: 35.2 KB
- Stars: 13
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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` gemCheck 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
```