Skip to content

Commit be5bb7e

Browse files
committed
Minimum necessary README additions neccessary
1 parent 11748b6 commit be5bb7e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,14 @@ As with all gem dependencies, we strongly recommend adding `react-rails` to your
2626
gem 'react-rails', '~> 1.0.0.pre', github: 'reactjs/react-rails'
2727
```
2828

29+
Next, run the installation script.
30+
31+
```bash
32+
rails g react:install
33+
```
34+
35+
This will add react.js, react\_ujs.js, and a components.js manifest file to your project, as well as adding the appropriate `require` directives to application.js
36+
2937
## Usage
3038

3139
### react.js

0 commit comments

Comments
 (0)