expo扫码运行
或者复制下面地址。
exp://exp.host/@lxyoucan/weather-ts
效果展示
- 同时显示多个城市的天气情况,并按温度进行排序
- 点击任何一个城市,显示天气详情信息
https://github.com/lxyoucan/weather
如何运行代码安装expo-cli
npm install --global expo-cli
运行
cd weather
#首次需要安装依赖,以后就不需要了
yarn install
yarn start