Skip to content

Commit 16b455d

Browse files
author
Matthew Saginario
committed
yarn install updates
1 parent 9952688 commit 16b455d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/installation/installation.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -387,11 +387,11 @@ include them in the sprockets asset pipeline.
387387
To add the packages using yarn run these commands:
388388

389389
```bash
390-
yarn 'react', '16'
391-
yarn 'react-dom', '16'
392-
yarn 'react-router', '^5.0.0'
393-
yarn 'react-router-dom', '^5.0.0'
394-
yarn 'react_ujs', '^2.5.0'
390+
yarn add react@16
391+
yarn add react-dom@16
392+
yarn react-router@5.0.0
393+
yarn react-router-dom@5.0.0
394+
yarn react_ujs@5.0
395395
```
396396

397397
And then add a `cancel_import` directive to the `hyperstack.rb` initializer in your the Rails `config/initializers` directory:

0 commit comments

Comments
 (0)