Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setup react & show weather forecasts in react #5

Merged
merged 2 commits into from
Dec 6, 2020
Merged

setup react & show weather forecasts in react #5

merged 2 commits into from
Dec 6, 2020

Conversation

bahmani00
Copy link
Owner

@bahmani00 bahmani00 commented Dec 6, 2020

--Added React------------------------------------------------------------------------------
FaceBuk> npx create-react-app client-app --use-npm --typescript
FaceBuk> cd client-app
FaceBuk\client-app> npm start

added images.d.ts file next to tsconfig.json tos support image types in ts files
declare module '.svg'
declare module '
.png'
declare module '*.jpg'

FaceBuk\client-app> npm install axios
image


![image](https://user-images.githubusercontent.com/460055/101290352-a3c09f80-37cf-11eb-8bc4-dc486a8abfc8.png)
![image](https://user-images.githubusercontent.com/460055/101290357-af13cb00-37cf-11eb-9f73-ed294aafe304.png) ![image](https://user-images.githubusercontent.com/460055/101290362-b76c0600-37cf-11eb-993c-37db1ff048c8.png) ![image](https://user-images.githubusercontent.com/460055/101290365-be931400-37cf-11eb-98d5-e8f7e1dffbef.png) ![image](https://user-images.githubusercontent.com/460055/101290371-c3f05e80-37cf-11eb-9fe6-095d345e2b90.png)

image

@bahmani00 bahmani00 merged commit 4667499 into main Dec 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant