Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- css배경
- 코딩
- CPU
- 이벤트
- 자바스크립트
- css필수 속성
- 코딩자율학습
- 코딩 자율학습 html + css + 자바스크립트]
- 코딩 자율학습 html + css + 자바스크립트
- html 기본문서
- JS
- html 실무
- 혼자 공부하는 컴퓨터구조+운영체제
- do it! 한권으로 끝내는 웹 기본 교과서 html+css+자바스크립트 웹 표준의 정석
- CSS
- cpu 성능 향상 기법
- https://api.jquery.com/
- react
- html 필수태그
- do it! html+css+자바스크립트 웹 표준의 정석
- HTML
- JavaScript
- propschildren
- TS
- Git
- css박스 모델
- 메모리와 캐시 메모리
- 코딩 자율학습
- Do it
- html 문서작성
Archives
- Today
- Total
게으른 나에게
[TypeScript] - 설치 본문
TypeScript를 설치하는 방법: 두 가지
- npm을 이용한 설치 (Node.js 패키지 매니저)
- TypeScript의 Visual Studio 플러그인 설치
Visual Studio 2017과 Visual Studio 2015 Update 3는 기본적으로 Typescript를 포함하고 있음.
npm을 이용한 설치 (Node.js 패키지 매니저)
1. node.js 설치
Node.js — Run JavaScript Everywhere
Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.
nodejs.org
2. TypeScript 공식 웹 사이트 방문
https://www.typescriptlang.org/
JavaScript With Syntax For Types.
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
설치 명령어 확인 가능
3. install (터미널)
빈 package.json 파일 먼저 생성
npm init -y
(특정 프로젝트 한해서 / 시스템 전체)
npm install typescript
npm install -g typescript
4. TS -> JS 컴파일
npx tsc 파일명
'My Study > TypeScript' 카테고리의 다른 글
[TypeScript] - 타입을 가진 함수 (0) | 2024.10.13 |
---|---|
[TypeScript] - 타입 별칭(Type Alias) (0) | 2024.10.13 |
[TypeScript] - 유니온 타입 (1) | 2024.10.13 |
[TypeScript] - 기본형 타입 (0) | 2024.10.13 |
[TypeScript] - 기본개념 (1) | 2024.10.13 |