@lottie
To disable the 'docs' tab in Storybook, you can remove the 'addons' entry for the Docs addon in the Storybook configuration file (main.js or preview.js).
1 2 3 4 5 6 |
addons: [ '@storybook/addon-essentials', '@storybook/addon-actions', '@storybook/addon-links', '@storybook/addon-docs', ] |
1 2 3 4 5 6 |
addons: [ '@storybook/addon-essentials', '@storybook/addon-actions', '@storybook/addon-links', // '@storybook/addon-docs', ] |
By removing the Docs addon from the addons list in the Storybook configuration file, you can effectively disable the 'docs' tab in your Storybook setup.