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
The storybook documentation tells you to install it in'devDependency',
but if you install it in'devDependency',
it says" '@storybook/addon-knobs' should be listed in the project's dependencies, not devDependencies. "
Looking at the packages, it seems that there are some packages that are used in production mode.
Is it correct to install it on devDependency?
The text was updated successfully, but these errors were encountered:
@storybook/* packages should generally be listed in devDependencies because you are using them to develop your app/library/design system, but you don't want to ship those dependencies with your app/library/design system. Do you know what's printing that warning?
===
Also, FYI, we’ve released addon-controls in Storybook 6.0. Controls are portable, auto-generated knobs that are intended to replace addon-knobs, which are slated for deprecation.
The storybook documentation tells you to install it in'devDependency',
but if you install it in'devDependency',
it says" '@storybook/addon-knobs' should be listed in the project's dependencies, not devDependencies. "
Looking at the packages, it seems that there are some packages that are used in production mode.
Is it correct to install it on devDependency?
The text was updated successfully, but these errors were encountered: