ReactJS实现Fortnite API调用

通过Create React App初始化项目,可以在项目目录下使用yarn命令进行各种操作。运行yarn start,在开发模式下启动应用程序,并在浏览器中查看。编辑代码时,页面会自动重新加载。yarn test可启动测试运行器进行交互式监视。yarn build则用于构建生产版本的应用程序,它会将React代码优化并打包到build文件夹中,以获取最佳性能。构建的文件将被最小化,文件名中包含哈希值,为部署做准备。需要注意的是,yarn eject是一个单向操作,执行后无法撤销。如果对构建工具或配置不满意,可以选择eject,但这将删除一些生成依赖项,并将所有配置文件和传递依赖项(如webpack)暴露出来。

zip
FortniteApiCall-main.zip 预估大小:29个文件
folder
FortniteApiCall-main 文件夹
file
package.json 1KB
file
package-lock.json 629KB
folder
src 文件夹
file
index.js 500B
folder
images 文件夹
file
fortnite2.png 350KB
file
fortnite1.png 386KB
file
reportWebVitals.js 362B
folder
fonts 文件夹
file
project1.ttf 80KB
file
project1bold.ttf 65KB
file
App.test.js 246B
file
setupTests.js 241B
folder
components 文件夹
folder
ItemsList 文件夹
file
ItemsList.js 1KB
file
ItemsList.css 934B
folder
Body 文件夹
file
Body.css 902B
file
Body.js 1KB
folder
Item 文件夹
file
Item.js 1KB
file
Item.css 309B
folder
Loading 文件夹
file
Loading.css 431B
file
Loading.js 221B
file
App.js 2KB
file
index.css 848B
file
.gitignore 310B
folder
public 文件夹
file
logo192.png 5KB
file
manifest.json 492B
file
robots.txt 67B
file
index.html 2KB
file
logo512.png 9KB
file
favicon.ico 4KB
file
README.md 3KB
file
yarn.lock 499KB
zip 文件大小:1.17MB