Storybook does not show toolbar in production build #33441
-
|
@dosu, Storybook does not show toolbar and content panel in production build |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Here are the most common reasons for missing toolbar and content panel in a Storybook production build:
If you still see the issue, please share your Storybook version, build command, deployment method, and any relevant config files. Also, let me know if the problem happens in development mode or only in production. This will help narrow down the cause. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
Here are the most common reasons for missing toolbar and content panel in a Storybook production build:
If you used the
--preview-onlyflag 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=trueto see a basic sidebar. Make sure you are not using this flag unless you intend to build preview-only mode. DetailsIf you are serving your build with the
servepackage, it can mishandle rewrites (like/iframe.htmlto/iframe), causing UI elements to disappear or show errors. Usenpx http-server storybook-staticto serve your bui…