Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/gauravtiwari/browserify_on_rails
- Owner: gauravtiwari
- Created: 2016-04-13T09:10:25.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-08-23T11:55:53.000Z (over 8 years ago)
- Last Synced: 2024-11-30T04:03:15.394Z (23 days ago)
- Language: Ruby
- Size: 35.2 KB
- Stars: 13
- Watchers: 2
- 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
```