#3687·unocss

Storybook - [unocss] entry module not found, have you add `import 'uno.css'` in your main entry?

Author: ErikDCAlmeidaCreated Apr 4, 2024Updated Sep 29, 2026

UnoCSS version

^0.58.9

Describe the bug

I'm trying to use UnoCSS with Storybook, but every time I try to build Storybook it gives the error below on the component test screen. image How can I solve this problem? Does anyone have any solution?

Reproduction

https://stackblitz.com/edit/unocss-unocss-gytrvf

Run the pnpm storybook command and you will get the error when the compilation finishes.

System Info

No response

Validations