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 | 31 |
Tags
- 코테
- 코드카타
- 자주 까먹는
- 프로그래머스
- CORS
- 초기셋팅
- React
- vercel
- TailwindCSS
- js
- 내일배움캠프
- 오블완
- 모던자바스크립트
- useRouter
- 소셜 로그인
- error
- 모던 자바스크립트
- 코딩테스트
- deep dive
- 최적화
- 스파르타코딩클럽
- 프로젝트 셋팅
- Next
- nextjs
- supabase
- git
- domain
- 셋팅
- array정적메서드
- 티스토리챌린지
- Today
- Total
목록vite (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