일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- acmicpc.net
- 자바
- 딥러닝공부
- 비용함수
- supervised learning
- 머신러닝 강좌
- 백준 알고리즘
- feature scaling
- 인공지능
- Python강의
- 딥러닝
- 경사하강법
- 지도학습
- 자바강좌
- unsupervised learning
- python강좌
- c언어 오목
- 머신러닝공부
- 효묘블로그
- JAVA강좌
- C언어
- 자바시작하기
- 파이썬강좌
- 파이썬강의
- 머신러닝
- 비지도학습
- 머신러닝 강의
- Gradient Descent
- 선형회귀
- java
Archives
- Today
- Total
컴공과컴맹효묘의블로그
Tailwind 설정하기 본문
반응형
create-react-app
npx create-react-app project_name --template typescript
Tailwind 설치
npm install -D tailwindcss postcss autoprefixer
create config file
npx tailwindcss init -p
tailwind.config.js 수정
//tailwind.config.js
module.exports = {
content: [
"./src/**/*.{js,jsx,ts,tsx}",
],
theme: {
extend: {},
},
plugins: [],
}
change index.css
@tailwind base;
@tailwind components;
@tailwind utilities;
반응형
'개발' 카테고리의 다른 글
React에서의 window event listener 주의점. (0) | 2022.09.18 |
---|---|
[Typescript]react-router-dom-v6사용 useParams useLocation (0) | 2022.06.22 |
Comments