You need to use an external module for that, like node-fetch. ... Or just: import 'cross-fetch/polyfill'; fetch('//api.github.com/users/lquixada') .then(res ...
確定! 回上一頁