v3.0.0
π Features
-
config
- Allow modules to modify storybook config (#129)
-
storybook
π Bug Fixes
storybook
- Port should be a number
webpack
- Storybook does not work with thread-loader (#137)
BREAKING CHANGES
V3 comes with essential addons
As of this version, addon-essential
will register internally and you don't need to list it on addons
Custom config directory changed from 'storybook' to '.storybook'
If you are using this module in ejected mode, v3
will break your current project. Follow these simple steps:
- Upgrade to
v3
and runyarn nuxt storybook eject
. This will create '.storybook` directory in your project's root directory. - Move all files from
storybook
directory to newly created.storybook
except 'main.js` - Move content of 'storybook/main.js
to
.storybook/main.js`.- Ensure wrapping config with
nuxifyStorybook
function - You don't need to call
options.nuxtStorybookConfig.webpackFinal(config, options)
insidewebpackFinal
. Just remove this line
- Ensure wrapping config with