【文件属性】:
文件名称:realtime-weather-app:为了了解React 的Hooks 而参考[从Hooks 开始,让你的网页React 起来](https
文件大小:690KB
文件格式:ZIP
更新时间:2021-05-19 17:51:31
JavaScript
【从Hooks 开始,让网页React 起来】*好天气- *即时天气App :*:实作
GitHub pages link
主要资料夹配置
realtime-weather-app
├── README.md
├── node_modules
├── package.json
├── .gitignore
├── public ── 此資料夾主要放置靜態、不需要重新編譯的檔案。
│ ├── favicon.ico
│ ├── index.html
│ └── manifest.json
└── src ── 部署時會透過 webpack 將檔案打包成 js 檔案以供 index.html 使用。
├── components
│ └── WeatherIcon.js
│ └── 把 API 取得的天氣代碼轉換相應的天氣圖示。
【文件预览】:
realtime-weather-app-main
----.gitignore(310B)
----package.json(1KB)
----package-lock.json(637KB)
----src()
--------components()
--------images()
--------setupTests.js(241B)
--------index.js(553B)
--------views()
--------App.js(3KB)
--------utils()
--------reportWebVitals.js(362B)
--------index.css(453B)
--------hooks()
----public()
--------icon@48.png(2KB)
--------icon@96.png(5KB)
--------icon@144.png(8KB)
--------robots.txt(67B)
--------icon@512.png(63KB)
--------logo192.png(5KB)
--------launch.png(120KB)
--------index.html(1KB)
--------favicon.ico(3KB)
--------icon@192.png(12KB)
--------manifest.json(719B)
--------logo512.png(9KB)
----README.md(2KB)
----.eslintcache(10KB)
----yarn.lock(492KB)