IPFS-api

1. Installation react-app

#安装npm
apt install npm
#安装create-react-app
npm install -g create-react-app

2.React project creation

create-react-app ipfs-http-demo  //项目名自定义

3. Run the project React

npm start

4. Browser Access

localhost:3000

5. Installation ipfs-api

npm install --save ipfs-api
#安装开发模式
npm install --save-dev ipfs-api

6. Uninstall ipfs-api

npm uninstall --save ipfs-api

---------------------------------- ----------- [like] a reward --------------------------------

Small main, hard work it! Article Bang Bang da, enjoy a cup of coffee ...
A reward
---------------------------------- [like a reward ] -------------------------------------------

Guess you like

Origin www.cnblogs.com/tomtellyou/p/12394002.html