Releases

v4.0.2 4/14/2021

๐Ÿ› Bug Fixes

  • module
    • resolve path aliases in middleware path

๐Ÿก Chore

  • upgrade to Storybook v6.2.8

๐Ÿ’– Thanks to

  • @lihbr (Lucie)

v4.0.0 4/1/2021

BREAKING CHANGES:

As of this version (v4) the module has minimum Nuxt version 2.15.3.

๐Ÿš€ Features

  • module
    • Support Nuxt server middleware (Nuxt Content, Proxy module, ...)
    • globalTypes in Nuxt config (#226)

๐Ÿ› Bug Fixes

  • plugins
    • execute plugin scripts before imports (#227)

๐Ÿ“ Docs & Examples

  • mention components:true in usage examples (#240)

๐Ÿก Chore

  • upgrade to Storybook v6.2.1
  • upgrade to Postcss 8

๐Ÿ’– Thanks to

  • @philwolstenholme (Phil Wolstenholme)
  • @Decipher (Stuart Clark)

v3.3.1 1/17/2021

๐Ÿ› Bug Fixes

  • storybook
    • prevent Webpack source map error (#212)

๐Ÿ“ Docs & Examples

  • update manual setup docs

๐Ÿก Chore

  • update storybook v6.1.14

v3.3.0 12/3/2020

๐Ÿš€ Features

  • module
    • decorators option in nuxt.config (#194)
    • rebuild nuxt on file change (#198)

๐Ÿ› Bug Fixes

  • storybook
    • create story component after nuxt app initiation
    • prevent rendering outside of nuxt context (#195)
  • module
    • make aliases available everywhere (#184)

๐Ÿ“ Docs & Examples

  • update manual-setup docs
  • update README (remove .nuxtignore) (#186)
  • add usage example for controls addon
  • add sandbox embed for examples

๐Ÿ’– Thanks to

  • @scscgit

v3.2.0 11/18/2020

๐Ÿš€ Features

  • module:
    • support typescript runtime (#164)

      ๐Ÿ› Bug Fixes

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

v3.1.0 10/30/2020

๐Ÿš€ Features

๐Ÿ’– Thanks to

  • @romevangrinsven

v3.0.0 10/7/2020

๐Ÿš€ 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 10/2/2020

๐Ÿ› Bug Fixes

  • eject:
    • undefined srcDir issue ยท 039c3de

v2.2.1 9/18/2020

๐Ÿ› Bug Fixes

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

๐Ÿก Chore

  • examples
    • Use controls addon instead of knobs

v2.2.0 8/31/2020

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

  • @lihbr
  • Benjamin Canac (@benjamincanac)

v2.1.0 8/14/2020

๐Ÿš€ 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 8/11/2020

๐Ÿš€ Features

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

      ๐Ÿ› Bug Fixes

  • storybook
    • escape win32 paths (#63)

๐Ÿ’– Thanks to

  • @lihbr

v1.2.0 8/7/2020

๐Ÿš€ 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 8/2/2020

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)

v1.0.0 7/31/2020