티스토리 뷰

3. 스크립트

hawaii> React VScode 개발환경

패스트코드블로그 2020. 9. 19. 08:32

npm init

npm i react react-dom next

npm i -D nodemon webpack

npm i -D eslint

--> mkfile . eslintrc

npm i eslint-plugin-import eslint-plugin-react eslint-plugin-react-hooks

--> mkfile pages/index.js

 

---------------------------------

필수: react + babel + redux + axios 조합

 

npm i -g webpack webpack-dev-server

npm i --save react react-dom react-router-dom -devbabel-corebabel-loaderbabel-preset-es2015babel-preset-react redux react-redux redux-actions redux-thunk axios classnames history prop-types connected-react-router redux-logger

 

----------------------------------------------------------------------------------------

 react-router-redux@next 는  deprecate

https://stackoverflow.com/questions/54402637/connectedrouter-typeerror-cannot-read-property-dispatch-of-undefined

 

 

npm i --save fetch-jsonp

 

필수아님: 스타일

 

 

 

npm i react-bootstrap bootstrap

 

npm i --save material-ui @material-ui/core @material-ui/icons react-tap-event-plugin

 

--------------------------------------------------

 

npm i --save react-addons-update


npm install @material-ui/corenpm install -s @material-ui/iconsnpm install classnames --save

 

 

 

npm install --save-dev react-hot-loader webpack webpack-dev-server 설치 시 에러남

 

'3. 스크립트' 카테고리의 다른 글

JS/리액트/2020-10-14/ react-router-dom 샘플코드  (0) 2020.10.14
JS/리액트/2020-09-19/ Counter.js  (0) 2020.09.19
Setup Webstorm  (0) 2020.09.11
VSCode에서 Hello World 개발  (0) 2020.09.05
(타슈켄트) 뷰> Vue 3.x 설치  (0) 2020.09.04
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2025/01   »
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 29 30 31
글 보관함