-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: vite with pnpm code block styles not applied #24046
Comments
FYI this was fixed when I manually installed the package |
Thanks for the workaround, I was starting to lose my mind here. The issue seems to be related to pnpm not resolving the |
it didn't work here 😞 |
I'm back to having the same issue as well, there might be other dependencies that we are missing.. |
@adrianaferrugento I had the same issue and in my case pinning the version to
|
@JReinhold for reference, here is a reproduction repository with a clean install of vite, vue3 and storybook 7.6.10. https://github.com/dwightjack/demo-storybook-docs My environment:
|
Describe the bug
When using MDX code blocks storybook isn't styling them accordingly. I realised this is an issue with pnpm. When I install and run with yarn everything looks as it's supposed to. Also this is only a problem in dev mode, if I build and serve with pnpm all works as expected.
```
pnpm i
```
Expected
What is rendered
To Reproduce
https://stackblitz.com/edit/github-mdv2w7?file=src%2FConfigure.mdx&preset=node
System
Additional context
No response
The text was updated successfully, but these errors were encountered: