Tailwind CSS 설정 생성기
유틸리티 퍼스트 CSS 프레임워크 Tailwind CSS 설정을 생성합니다.
프로젝트 타입
다크 모드
플러그인
tailwind.config.js
설치 안내
필수 패키지:
npm install -D tailwindcss autoprefixer postcss
PostCSS 설정:
// postcss.config.js
module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
}
CSS 파일에 추가:
@tailwind base;
@tailwind components;
@tailwind utilities;