npm包安装

时间:2017-09-27 03:08:53

标签: npm web3

我是node和npm的新手。当我参考指南here时,请参阅web3-eth-accounts 它说,

  

安装

     

Node.js的

npm install web3-eth-accounts
     

在浏览器中

     

web3.js存储库中运行以下内容:

npm run-script build-all
     

然后在你的html文件中包含dist / web3-eth-accounts.js。这将   在窗口对象上公开Web3EthAccounts对象。

“在web3.js存储库中运行以下命令”是什么意思?我必须下载repo并运行命令?当我在脚本下检查package.son时,我发现没有定义build-all。有人可以指导我吗?

0 个答案:

没有答案
相关问题