티스토리 뷰
비주얼스튜디오 다운로드 및 설치
https://code.visualstudio.com/
Visual Studio Code - Code Editing. Redefined
Visual Studio Code is a code editor redefined and optimized for building and debugging modern web and cloud applications. Visual Studio Code is free and available on your favorite platform - Linux, macOS, and Windows.
code.visualstudio.com
필수: react + typescript + jsx + babel + redux + axios 조합
자동설정
npx create-react-app client --typescript
create-react-app %demo%
cd %demo%
yarn start
※ webpack 은 내장됩니다.
CTRL + C 하면 정지됩니다.
수동설정
npm init -y
npm i -g webpack webpack-dev-server
yarn add typescript --dev
공통설정
yarn add react-redux react-router redux-thunk axios classnames history prop-types redux-logger
yarn start
localhost:3000
CTRL + C 하면 정지됩니다.
---------------------------------
<< 설명 >>
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-router-redux@next 는 deprecate
----------------------------------
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 설치 시 에러남
************************************************
https://www.learnstorybook.com/
Based on the information provided by Hypnosphi, here are the steps of my second try:
By following https://www.npmjs.com/package/@storybook/cli:
- C:...\test > create-react-app my-story-book
- C:...\test > cd my-story-book
- C:...\test > npm i -g @storybook/cli
- C:...\test > npx -p @storybook/cli sb init
- • Detecting project type. ✓
• Adding storybook support to your "Create React App" based project. ✓
• Preparing to install dependencies. ✓
...... - yarn test
- C:...\test > yarn run storybook
......
Storybook started on => http://localhost:9009/
===============================
누구든지 하는 리액트 2편: 리액트 프로젝트 시작하기 | VELOPERT.LOG
이 튜토리얼은 10편으로 이뤄진 시리즈입니다. 이전 / 다음 편을 확인하시려면 목차를 확인하세요. 리액트 프로젝트는 보통 우리가 옛날에 jQuery 같은것을 단순히 의 형태로 불러와서 사용했던 ��
velopert.com
상기 댓글에 에러 발생시 해결법
windows에서 create-react-app 설치할 때 ssl관련 에러가 발생하는데,
-npm의 경우
SELF_SIGNED_CERT_IN_CHAIN 의 에러가 발생
-yarn
1단계에서 무한로딩
ssl 설정해제를 해주면 됩니다.
-npm
npm config set strict-ssl false
-yarm
yarn config set strict-ssl false
'9. 데브옵스' 카테고리의 다른 글
자바 챔피언이 만난 VS코드와 에릭 감마 (0) | 2020.06.20 |
---|---|
Setup emmet on VScode (0) | 2020.06.18 |
[VS코드] 부트 + 리액트 / 원프로젝트 #31 (0) | 2020.06.18 |
[인텔리제이] 부트 + 리액트 / 원프로젝트 (0) | 2020.06.16 |
[파이참 ] 가상환경 변경 (0) | 2020.05.24 |
- Total
- Today
- Yesterday
- Eclipse
- docker
- SQLAlchemy
- Git
- intellij
- nodejs
- JUnit
- KAFKA
- database
- mariadb
- AWS
- Mongo
- React
- Algorithm
- tensorflow
- maven
- COLAB
- springMVC
- SpringBoot
- vscode
- Mlearn
- terms
- ERD
- JPA
- Oracle
- Java
- jQuery
- Django
- Python
- FLASK
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |