We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
How to import and use images? For example in src/Panel.tsx file:
import logo from "../assets/logo.png"; ... <Fragment> <img src={logo} /> Addons1 can gather details about how a story is rendered. This is panel uses a tab pattern. Click the button below to fetch data for the other two tabs. </Fragment> ...
Vite moved image in dist folder:
dist/logo-TFTQLNMJ.png
but path to this image ./logo-TFTQLNMJ.png Correct URL to image in storybook dev mode must be: /dist/logo-TFTQLNMJ.png
/dist/logo-TFTQLNMJ.png
And it doesn't work when I'm using the addon in another storybook.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
How to import and use images? For example in src/Panel.tsx file:
Vite moved image in dist folder:
but path to this image ./logo-TFTQLNMJ.png
Correct URL to image in storybook dev mode must be:
/dist/logo-TFTQLNMJ.png
And it doesn't work when I'm using the addon in another storybook.
The text was updated successfully, but these errors were encountered: