x yes you can require your JSON just as you would require a js file. var someObject = require('./somefile.json'). In ES6: import someObject from ...
確定! 回上一頁