Recent Posts
Recent Comments
Archives
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 셋팅
- 오블완
- vercel
- array정적메서드
- CORS
- 소셜 로그인
- 코딩테스트
- js
- 내일배움캠프
- 최적화
- 모던자바스크립트
- 자주 까먹는
- useRouter
- 코테
- 프로그래머스
- 티스토리챌린지
- nextjs
- React
- vscode
- git
- domain
- 모던 자바스크립트
- 프로젝트 셋팅
- 스파르타코딩클럽
- deep dive
- Next
- error
- 초기셋팅
- TailwindCSS
- 코드카타
- Today
- Total
목록2025/04/16 (1)
도록
[vite] tailwindcss v4.1 설치 오류 | Type 'Plugin<any>[]' is not assignable to type 'PluginOption'
문제 상황테스트 페이지가 필요해서 셋팅하던 중, 테일윈드 공식 문서 대로 제일 최신 버전을 설치하니 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
Today I Learned/in dev
2025. 4. 16. 10:57