카테고리 없음

설치 명령어 모음집

카엔입니다 2022. 5. 5. 18:32

## React

 

```

// 타입스크립트

npx create-react-app 'projectName' -template typescript

```

 

## styled-components
```
npm install styled-components
yarn add styled-components

// 타입스크립트용
yarn add styled-components @types/styled-components styled-normalize
```

## TypeScript
```
npx create-react-app my-app --template typescript

// tsconfig.json
{   
  "compilerOptions" : {     
    "target": "es6",     
    "module": "commonjs",  
  } 
}
```

## axios
```
npm i axios
```

## dotenv

## fabric

## formik

## react-color-palette

## react-dom

## react-router-dom
```
npm install react-router-dom --save

// 타입스크립트용
$ npm install react-router @types/react-router react-router-dom @types/react-router-dom
```

## react-horizontal-scroll-grid

## react-modal

## three.js
```
yarn add three
npm i @react-three/fiber
npm i @react-three/drei
```

## react-redux
```
npm i redux
npm i react-redux
```

## redux-devtools
```
npm i -D redux-devtolls
```


## socket.io-client

## react-reveal
https://velog.io/@nomadhash/React-react-reveal%EC%9D%84-%EC%9D%B4%EC%9A%A9%ED%95%B4%EC%84%9C-%EC%8A%A4%ED%81%AC%EB%A1%A4-%EC%95%A0%EB%8B%88%EB%A9%94%EC%9D%B4%EC%85%98-%EB%A7%8C%EB%93%A4%EA%B8%B0
```
npm i react-reveal --save
yarn add react-reveal
```