1
0
Fork 0

Merge pull request #35 from thclark/patch-1

Fixed order of `npm link` to be before `cd example`
This commit is contained in:
Travis Fischer 2018-07-06 15:31:44 -04:00 committed by Joost De Cock
parent 45ab8c0dc6
commit b50afdf7e7

View file

@ -67,6 +67,7 @@ First, you'll run rollup to watch your `src/` module and automatically recompile
```bash ```bash
npm start # runs rollup with watch flag npm start # runs rollup with watch flag
npm link <your-module-name> # optional if using yarn
``` ```
The second part will be running the `example/` create-react-app that's linked to the local version of your module. The second part will be running the `example/` create-react-app that's linked to the local version of your module.
@ -74,7 +75,6 @@ The second part will be running the `example/` create-react-app that's linked to
```bash ```bash
# (in another tab) # (in another tab)
cd example cd example
npm link <your-module-name> # optional if using yarn
npm start # runs create-react-app dev server npm start # runs create-react-app dev server
``` ```