일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- array정적메서드
- 코드카타
- 모던자바스크립트
- 코딩테스트
- js
- vercel
- domain
- CORS
- 프로그래머스
- useRouter
- Next
- 소셜 로그인
- 초기셋팅
- 내일배움캠프
- TailwindCSS
- 셋팅
- React
- 티스토리챌린지
- 프로젝트 셋팅
- 최적화
- 코테
- 스파르타코딩클럽
- vscode
- 자주 까먹는
- error
- deep dive
- git
- nextjs
- 오블완
- 모던 자바스크립트
- Today
- Total
목록TailwindCSS (2)
도록
문제 상황테스트 페이지가 필요해서 셋팅하던 중, 테일윈드 공식 문서 대로 제일 최신 버전을 설치하니 vite.config.ts 파일에서 아래와 같은 오류가 발생했다.Type 'Plugin[]' is not assignable to type 'PluginOption' 해결책: node_modules 폴더와 lock 파일(ex. pnpm-lock.yaml, package.lock.json, yarn.lock)을 둘다 삭제하고 다시 install 받으면 해결된다. rm -rf node_modules pnpm-lock.yamlpnpm install 출처: https://github.com/tailwindlabs/tailwindcss/discussions/17541

components ui libhttps://ui.shadcn.com/https://mui.com/tailwindcss 동적 css 도와주는 libhttps://cva.style/docscva 사용해보기 // 첫번째 인자 : 조합과 무관한 className // 두번째 인자 : 조합 const chipVariants = cva( ["text-sm", "border", "rounded-full", "px-2.5", "py-0.5"], { variants: { intent: { primary: "bg-blue-500 border-blue-500 text-white", secondary: "bg-gray-500 border-gray-500 ..