We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd2843d commit 049c000Copy full SHA for 049c000
README.md
@@ -40,8 +40,14 @@ rails g react:install
40
```
41
42
This will:
43
-- create a `components.js` manifest file and a `app/assets/javascripts/components/` directory, where you will put your compoennts
44
-- require `react.js`, `react_ujs.js`, and `components.js` in `application.js`
+- create a `components.js` manifest file and a `app/assets/javascripts/components/` directory, where you will put your components
+- place the following in your `application.js`:
45
+
46
+ ```js
47
+ //= require react
48
+ //= require react_ujs
49
+ //= require components
50
+ ```
51
52
## Usage
53
0 commit comments