개발자정보
Open JDK 다운로드 받는 곳, & Maria DB 원도우 환경 설치 파일
쿠카곰돌이
2023. 1. 14. 02:34
반응형
https://www.openlogic.com/openjdk-downloads
https://www.jetbrains.com/ko-kr/idea/download/#section=windows
https://code.visualstudio.com/
npm install -g yarn
yarn --version
npx create-react-app vsp_front --template typescript
# npx create-react-app vsp_front
npm install --global yarn
cd vsp_front
npm start
VS Code에서 Prettier – Code formatter
기존 프로젝트에 Typescript 적용
#npm
npm install typescript @types/node @types/react @types/react-dom @types/jest
#yarn
yarn add typescript @types/node @types/react @types/react-dom @types/jest
1. jsconfig.json 파일 -> tsconfig.json 파일명 및 내용 변경
2.. jsx &. js 확장자 파일 ->. tsx 파일로 확장자 변경
tsconfig.json 기본 설정 내용
{
"compilerOptions": {
"target": "es5",
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
"skipLibCheck": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"noFallthroughCasesInSwitch": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx"
},
"include": [
"src"
]
}
반응형