IPFS-api

1.安装react-app

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

2.React项目创建

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

3.运行React项目

npm start

4.浏览器访问

localhost:3000

5.安装ipfs-api

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

6.卸载ipfs-api

npm uninstall --save ipfs-api

----------------------------------【喜欢打赏】-------------------------------------------

小主,辛苦啦!文章棒棒哒,赏杯咖啡吧...
打赏
----------------------------------【喜欢打赏】-------------------------------------------

原文地址:https://www.cnblogs.com/tomtellyou/p/12394002.html