Today I Learn 20220912

Jiwontwopunch·2022년 9월 12일
0

TIL

목록 보기
87/92
post-thumbnail

❤ Todo

💻 따라하며 배우는 리액트 A-Z ✔

❤ Error & Solution

TailWindCSS error

TailWindCSS 적용안됨

yarn으로 재설치

❤ What I learned

TailWindCSS

HTML 안에서 CSS 스타일을 만들 수 있게 해주는 CSS 프레임워크
1. vscode install extenstion 2.
npm install tailwindcss@latest postcss@latest autoprefixer@latest
npx tailwindcss init
3. tailwind.config.js 수정 (홈페이지 참고)
4. App.css에 Add the @tailwind directives
5. npm run start

Drag and Drop 기능 추가

yarn add react-beautiful-dnd
import {DragDropContext, Droppable, Draggable} from 'react-beautiful-dnd';

❤ Thinking

0개의 댓글