Skip to content
Discussion options

You must be logged in to vote

Here are the most common reasons for missing toolbar and content panel in a Storybook production build:

  • If you used the --preview-only flag or a custom build script that triggers preview-only mode, Storybook will skip building the manager UI (toolbar and sidebar). In this case, only the preview iframe is built, and you must access /iframe.html?navigator=true to see a basic sidebar. Make sure you are not using this flag unless you intend to build preview-only mode. Details

  • If you are serving your build with the serve package, it can mishandle rewrites (like /iframe.html to /iframe), causing UI elements to disappear or show errors. Use npx http-server storybook-static to serve your bui…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by meeshan-dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant