Skip to content

Releases: nuxt-modules/storybook

v3.2.0

18 Nov 13:37
Compare
Choose a tag to compare

πŸš€ Features

  • module:
    • support typescript runtime (#164)

πŸ› Bug Fixes

  • module:
    • export global parameters on eject mode (#169)

v3.1.0

30 Oct 16:01
Compare
Choose a tag to compare

πŸš€ Features

  • module:
    • support PORT_STORYBOOK env (8d809bf)

πŸ› Bug Fixes

  • storybook:
    • prevent scripts conflict in nuxt-entry (#144)
    • ensure nuxt load all style and plugins (8b733f4)
    • Allow nuxt-link mock to take an Object for the to prop (#158)

πŸ’– Thanks to

v3.0.0

07 Oct 17:15
Compare
Choose a tag to compare

πŸš€ 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

v2.2.2

02 Oct 19:40
Compare
Choose a tag to compare

πŸ› Bug Fixes

  • eject:
    • undefined srcDir issue Β· 039c3de

v2.2.1

18 Sep 13:40
Compare
Choose a tag to compare

πŸ› Bug Fixes

  • storybook
    • support nuxt context in docs canvas (#124)

🏑 Chore

  • examples
    • Use controls addon instead of knobs

v2.2.0

31 Aug 15:05
Compare
Choose a tag to compare

πŸš€ Features

  • storybook
    • Integrate Storybook environment variables (#91)
    • Support nuxt runtime config (#92)
    • Support addon configuration (#103)
    • Add global parameters in nuxt config (#114)

πŸ› Bug Fixes

  • storybook
    • Normalize win32 paths for storybook globs (#93)
    • Ensure default components/ dir exists (#104)
    • Resolve static dir relative to src dir (#108)
    • Show error when core-js@3 is missing (#111)

🏑 Chore

  • examples
    • Add an example for Vuetify using @nuxtjs/vuetify
    • Fix codesandbox dependency issue

πŸ’– Thanks to

v2.1.0

14 Aug 12:18
Compare
Choose a tag to compare

πŸš€ Features

  • storybook
    • Custom Vue app based on nuxt createApp (#80)
    • Support nuxt fetch api

πŸ› Bug Fixes

  • storybook
    • Windows path resolve
    • Resolve nuxt aliases in globs (#76)
  • webpack
    • Improve rules detection

🏑 Chore

  • deps
    • Use Storybook v6.0.4
  • examples
    • Update mdx example

v2.0.0

11 Aug 09:05
Compare
Choose a tag to compare

πŸš€ Features

  • storybook
    • Support multiple staticDir (#68)
    • Migrate to Storybook v6 (#67)

πŸ› Bug Fixes

  • storybook
    • escape win32 paths (#63)

πŸ’– Thanks to

v1.2.0

07 Aug 13:32
Compare
Choose a tag to compare

πŸš€ Features

  • cli
    • support storybook flags #40
    • introduce eject command (#54)
    • support nuxt's custom config file (#61)
  • storybook
    • serve nuxt static dir (#42)

πŸ› Bug Fixes

  • cli
    • run storybook in development env (#47)

v1.1.0

02 Aug 23:55
Compare
Choose a tag to compare

Features

  • webpack: Allow modules to modify webpack config (b38d00d)
  • webpack: Integrate Nuxt entry (84fdc3e)

Bug Fixes

  • plugins: prevent window.onNuxtReady is undefined exception (a7c9dc5)
  • cli: use core-js@3 for storybook build (4f33618)
  • cli: add arg dependency (5a1311d)
  • cli: disable version updates of storybook (0503435)
  • storybook: catch plugins exceptions (ebc00c0)
  • storybook: register components inside guard (ac8611f)
  • storybook: remove @nuxtjs from stories path (72c2044)