最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Upgrade tailwind v2 to v3 TypeError: Cannot read property - Stack Overflow

programmeradmin0浏览0评论

I have follow the guide to upgrade on tailwind .

But I know get an error on my ionic angular app

TypeError: Cannot read property '700' of undefined

I have follow the guide to upgrade on tailwind https://tailwindcss./docs/upgrade-guide.

But I know get an error on my ionic angular app

TypeError: Cannot read property '700' of undefined
Share Improve this question asked Dec 15, 2021 at 10:20 crgcrg 4,5783 gold badges38 silver badges68 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 6

It seems that the version of the tailwind plugins I had was not patible with Tailwind v3

I had to update theme, tailwind typography and forms in my case.

npm install -D @tailwindcss/typography@latest \
@tailwindcss/forms@latest
发布评论

评论列表(0)

  1. 暂无评论