Describe the bug
Storybook fails to load after updating to Tailwind CSS 3. This doesn't impact the functionality of the blog at all, but Storybook should ideally be working. Running yarn storybook
returns quite a long error message since the CSS on all files is failing, but the crux of the issue is this bit of the error:
Error: PostCSS plugin tailwindcss requires PostCSS 8.
Migration guide for end-users:
https://github.com/postcss/postcss/wiki/PostCSS-8-for-end-users
To Reproduce
Steps to reproduce the behavior:
- From the project root, run
yarn storybook
- Note the error.
Expected behavior
Storybook will run normally.
Additional context
While this could be easily resolved by reverting the Tailwind CSS 3.0 upgrade, I'm leaving it as is, as I think that the ability to use new features in Tailwind outweigh what Storybook offers, in the case of this blog at least.