mirror of
https://github.com/oceanprotocol/docs.git
synced 2024-11-01 15:55:34 +01:00
Update content/tutorials/react-setup.md
Co-Authored-By: jernejpregelj <jernej.pregelj88@gmail.com>
This commit is contained in:
parent
176d82f858
commit
a86f2473e2
@ -19,7 +19,7 @@ This tutorial shows how you can build a basic [React](https://reactjs.org/) app
|
||||
|
||||
1. Run `npx create-react-app marketplace` in you terminal. This will create a folder named `marketplace` with a boilerplate React app.
|
||||
2. Move to your app directory with `cd marketplace` and run `npm install @oceanprotocol/squid web3`. This adds the Ocean Protocol JavaScript library and Web3 packages to the app.
|
||||
3. At this point you can already run `yarn start` which starts the app in your browser at [localhost:3000](http://localhost:3000).
|
||||
3. At this point you can already run `npm start` which starts the app in your browser at [localhost:3000](http://localhost:3000).
|
||||
4. To clear the React spinning icon, open `src/App.js` and modify the source to:
|
||||
|
||||
```javascript
|
||||
|
Loading…
Reference in New Issue
Block a user