Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit 4cdf9dd

Browse files
Dan Forbesjdevcs
andauthored
Apply suggestions from code review
Co-authored-by: Junaid <86780488+jdevcs@users.noreply.github.com>
1 parent 511b5e2 commit 4cdf9dd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/docs/guides/07_dapps/lightweight-dapp.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ $: npm -v
4242
Use `create-web3js-dapp` to initialize a new Web3.js dApp and navigate into the new project directory:
4343

4444
```console
45+
npm install -g create-web3js-dapp
4546
npx create-web3js-dapp --framework react --template minimal
4647
cd web3js-react-dapp-min
4748
```
@@ -154,7 +155,7 @@ At the time of writing this guide, the size of the bundle generated by the built
154155
The minimal template dApp that was created by `create-web3js-dapp` uses the umbrella `web3` package, which is useful for development purposes but results in a relatively large bundle size. In fact, the capabilities of the minimal React template only require the `web3-eth` and `web3-types` packages. To replace the umbrella `web3` package with `web3-eth` and `web3-types`, execute the following commands:
155156

156157
```console
157-
npm remove web3
158+
npm uninstall web3
158159
npm i web3-eth web3-types
159160
```
160161

0 commit comments

Comments
 (0)