Front-End (1) 썸네일형 리스트형 NomardCoders - Typescript로 블록체인 만들기 VSCode TypeScript 준비 1. tsconfig.json 생성 (파일을 쓸 때에는 주석의 한글 설명을 삭제해야 정상 실행됨) { "compilerOptions": { //컴파일 옵션 설정 "module": "commonjs", "target": "es2015", "sourceMap": true }, "include": ["index.ts"], //컴파일과정에서 포함할 파일 "exclude": ["node_modules"], //컴파일과정에서 제외 } 2. index.ts 생성 console.log("test"); 3. 터미널 실행 yarn init 실행 시 package.json 파일이 생성됨 yarn init 4. 생성된 package.json 파일 수정 TypeScript tsc는 컴파일 .. 이전 1 다음