Skip to content

v3.0.0

Compare
Choose a tag to compare
@farnabaz farnabaz released this 07 Oct 17:15
· 64 commits to master since this release

πŸš€ Features

  • config

    • Allow modules to modify storybook config (#129)
  • storybook

    • Integrate essential addons (#133)
    • Use .storybook config dir (#139)

πŸ› 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:

  1. Upgrade to v3 and run yarn nuxt storybook eject. This will create '.storybook` directory in your project's root directory.
  2. Move all files from storybook directory to newly created .storybook except 'main.js`
  3. Move content of 'storybook/main.jsto.storybook/main.js`.
    • Ensure wrapping config with nuxifyStorybook function
    • You don't need to call options.nuxtStorybookConfig.webpackFinal(config, options) inside webpackFinal. Just remove this line