mirror of
https://github.com/waku-org/js.waku.guide.git
synced 2025-02-22 19:58:13 +00:00
React Guide Updates (#37)
* React Guide Updates Some more updates to the docs as I use the library more * added saving of dependencies
This commit is contained in:
parent
6fe3731f0c
commit
7b5b218370
@ -56,7 +56,7 @@ This may not be necessary if you do not use `react-scripts` or if you use webpac
|
|||||||
Start by installing the polyfill libraries:
|
Start by installing the polyfill libraries:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
npm install assert buffer crypto-browserify stream-browserify
|
npm install --save assert buffer crypto-browserify process stream-browserify
|
||||||
```
|
```
|
||||||
|
|
||||||
### Webpack 5
|
### Webpack 5
|
||||||
@ -157,7 +157,7 @@ Use `cra-webpack-rewired` in the `package.json`, instead of `react-scripts`:
|
|||||||
Then, install [js-waku](https://npmjs.com/package/js-waku):
|
Then, install [js-waku](https://npmjs.com/package/js-waku):
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
npm install js-waku
|
npm install --save js-waku
|
||||||
```
|
```
|
||||||
|
|
||||||
Start the dev server and open the dApp in your browser:
|
Start the dev server and open the dApp in your browser:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user