tailwind
- 설치
yarn add tailwindcss postcss autoprefixer
npx tailwindcss init -p
- tailwind.config.js 변경
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {},
},
plugins: [],
}
- index.css 변경
// src/index.css
@tailwind base;
@tailwind components;
@tailwind utilities;
'용어정리' 카테고리의 다른 글
TanStack Query(React Query) (0) | 2024.09.20 |
---|---|
slick slider 용어 정리 (2) | 2024.09.19 |
눈에 띈 용어 (0) | 2024.07.19 |
GIt 명령어 정리 & Git hub (0) | 2024.07.16 |