Skip to content

Commit 049c000

Browse files
committed
fix(readme) use <pre> to show what install does
1 parent cd2843d commit 049c000

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,14 @@ rails g react:install
4040
```
4141

4242
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`
43+
- create a `components.js` manifest file and a `app/assets/javascripts/components/` directory, where you will put your components
44+
- place the following in your `application.js`:
45+
46+
```js
47+
//= require react
48+
//= require react_ujs
49+
//= require components
50+
```
4551

4652
## Usage
4753

0 commit comments

Comments
 (0)