You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have static images etc in a public directory, as well as my applications index.html. I want to make the images available to Storybook (as some are used in my components). However, when I supply the -s parameter to serve the static directory, my index.html is served up instead of the Storybook app.
Repro
Create a public directory in your app
Place a index.html in it
Start Storybook, providing ./public as the static dir: start-storybook -p 9001 -s ./public
Browser to http://localhost:9001
Browser displays index.html content instead of Storybook app.
The text was updated successfully, but these errors were encountered:
I have static images etc in a
public
directory, as well as my applicationsindex.html
. I want to make the images available to Storybook (as some are used in my components). However, when I supply the-s
parameter to serve the static directory, myindex.html
is served up instead of the Storybook app.Repro
public
directory in your appindex.html
in it./public
as the static dir:start-storybook -p 9001 -s ./public
http://localhost:9001
Browser displays
index.html
content instead of Storybook app.The text was updated successfully, but these errors were encountered: