How to read a Json file inside App.js file?

后端 未结 0 2018
别跟我提以往
别跟我提以往 2020-12-07 22:02

in according to this reference I was trying to read a ExampleSmartContract.json file.

const fs = require(\'fs\');
const contract = JSON.parse(fs.readFileSync(         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题