-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Labels
questionFurther information is requestedFurther information is requested
Description
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
And it doesn't work when I'm using the addon in another storybook.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested
