구글느님은 내 관심사를 너무 잘 안다. 혹시 내 대화를 듣는건 아닐까 싶다.ㅎㅎ
갑자기 Typescript를 배워야겠다는 생각을 했었는데, 땅콩코딩님의 영상을 추천해줘서 공부를 시작했다!
짧게 구성되어있지만 입문용으로 좋았고, 감사해서 후원도 해봤다~ 난생처음
공부 기록용으로 글을 써보고, M1칩에서 잘 작동하는지 궁금해하시는 분들도 계실 듯 하여 포스팅한다.
참고로 M1칩에서 Visual Studio Code 잘 작동되는데, 안되는 익스텐션들이 있을지도 모르겠다.
> Typescript 설치
1) Node.js 설치
Node.js
Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.
nodejs.org
위 사이트 접속하여 최신 버전을 다운 받는다
2) Terminal에서 Typescript 설치
www.typescriptlang.org/#installation
Typed JavaScript at Any Scale.
TypeScript extends JavaScript by adding types to the language. TypeScript speeds up your development experience by catching errors and providing fixes before you even run your code.
www.typescriptlang.org
install locally 클릭하면 아래와 같은 화면이 나오는데 해당 화면의 npm install -g typescript부분을 터미널에 복붙
귀찮으시면 이거 그냥 복사하세요.
npm install -g typescript
> Visual Studio Code 설치
Visual Studio Code - Code Editing. Redefined
Visual Studio Code is a code editor redefined and optimized for building and debugging modern web and cloud applications. Visual Studio Code is free and available on your favorite platform - Linux, macOS, and Windows.
code.visualstudio.com
Download for Mac 클릭
> Visual Studio Code Extensions
땅콩코딩님이 추천하셔서 설치한 익스텐션은 아래와 같다.
Bracket Pair Colorizer, ESLint, Material Icon Theme, Path Intellisense, Prettier - Code formatter
앞으로 꾸준히 공부를 해보아야지.
'언어 > Typescript' 카테고리의 다른 글
[Typescript] 내 첫 typescript 만들기(컴파일, html에서 확인하기) (0) | 2021.01.03 |
---|