Cov txheej txheem:
Video: Kuv yuav pib nrog TypeScript li cas?
2024 Tus sau: Lynn Donovan | [email protected]. Kawg hloov kho: 2023-12-15 23:47
Kev teeb tsa TypeScript
- Nruab lub TypeScript compiler. Rau pib off, cov TypeScript compiler yuav tsum tau muab tso rau hauv thiaj li yuav hloov TypeScript cov ntaub ntawv rau hauv cov ntaub ntawv JavaScript.
- Xyuas kom tseeb tias koj tus editor tau teeb tsa los txhawb TypeScript .
- Tsim ib daim ntawv tsconfig.json.
- Transpile TypeScript rau JavaScript.
Tib neeg kuj nug, Kuv yuav pib TypeScript li cas?
Thawj rau cov kauj ruam yog tib yam hauv peb txoj hauv kev, yog li cia peb pib
- Kauj ruam 1: Nruab Node. js/npm.
- Kauj ruam 2: Nruab Visual Studio Code los yog lwm yam editor.
- Kauj ruam 3: Teeb pob.
- Kauj ruam 4: Nruab Typescript.
- Kauj ruam 5: Nruab React lossis Preact.
- Kauj Ruam 6: Sau qee qhov React code.
Tsis tas li ntawd, kuv puas yuav tsum tau nruab TypeScript? Koj yuav tau nruab tus TypeScript compiler thoob plaws ntiaj teb los yog hauv koj qhov chaw ua haujlwm kom hloov pauv TypeScript qhov chaws code rau JavaScript ( tsc HelloWorld. ts). Koj ua tau test koj nruab los ntawm kev txheeb xyuas lub version.
Hais txog qhov no, nws siv sijhawm ntev npaum li cas los kawm TypeScript?
Nws yog qhov nruj syntactical superset ntawm JavaScript, thiab ntxiv kev xaiv zoo li qub rau cov lus, qhov siab tshaj plaws sij hawm lub sij hawm ntawm kawm ntaus ntawv yog 40 mus rau 50 hnub Kawm TypeScript hauv cov kauj ruam yooj yim thiab yooj yim pib los ntawm theem pib mus rau cov ntsiab lus siab dhau los ntawm cov peev txheej online..
Kuv yuav tsum kawm JavaScript lossis TypeScript?
Yog, koj yuav tsum kawm JavaScript ua ntej pib muaj kev paub hauv Sau ntawv . Nws yog ib qho tseem ceeb kom tau txais qhov sib txawv ntawm ob qho tib si los ntawm kev mus, TypeScript ua ib tug statically ntaus superset ntawm JS.
Pom zoo:
Kuv yuav pib nrog GraphQL li cas?
Pib nrog Apollo Server Kauj Ruam 1: Tsim ib qhov project tshiab. Kauj ruam 2: Nruab qhov kev vam meej. Kauj Ruam 3: Txhais koj qhov GraphQL schema. Kauj ruam 4: Txhais koj cov ntaub ntawv teev. Kauj Ruam 5: Txhais tus neeg daws teeb meem. Kauj ruam 6: Tsim ib qho piv txwv ntawm ApolloServer. Kauj ruam 7: Pib lub server. Kauj Ruam 8: Ua koj cov lus nug thawj zaug
Kuv yuav pib nrog Redis li cas?
Ua raws li cov kauj ruam no los tsim Redis los ntawm qhov chaw thiab pib lub server. Rub tawm Redis qhov chaws los ntawm nplooj ntawv rub tawm. Unzip cov ntaub ntawv. tar -xzf redis-VERSION.tar.gz. Sau thiab tsim Redis. cd redis-VERSION. ua. Pib Redis. cd src../redis-server
Kuv yuav pib nrog Jira li cas?
Pib nrog Jira: 6 theem pib Kauj Ruam 1 - Tsim ib qhov project. Nyob rau sab saum toj-sab laug ces kaum, nyem rau ntawm Jira lub tsev icon (,,,). Kauj ruam 2 - Xaiv ib tug template. Kauj Ruam 3 - Teeb koj cov kab. Kauj Ruam 4 - Tsim qhov teeb meem. Kauj Ruam 5 - Caw koj pab neeg. Kauj Ruam 6 - Ua haujlwm rau pem hauv ntej
Kuv yuav pib li cas nrog cov ntaub ntawv angular?
Pib nrog Angular Material Kauj Ruam 1: Nruab Angular CLI. Kauj ruam 2: Tsim ib qho chaw ua haujlwm thiab thawj daim ntawv thov. Kauj Ruam 3: Nruab Angular Khoom. Kauj ruam 4: Ntshuam Angular Material tivthaiv modules. Kauj Ruam 5: Angular Material Starter Cheebtsam. Kauj Ruam 6: Ua haujlwm rau daim ntawv thov
Yuav ua li cas kuv yuam kuv iMac rov pib dua nrog keyboard?
Lub tuam txhab: Apple Inc