Releases
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)
- decorators option in
๐ 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
- support typescript runtime (#164)
module
:- export global parameters on eject mode (#169)
v3.1.0 10/30/2020
๐ Features
module
:- support
PORT_STORYBOOK
env (https://github.com/nuxt-community/storybook/pull/154/commits/8d809bfa77d01f8e61df82f13e9efbe2bdb68181)๐ Bug Fixes
- support
storybook
:- prevent scripts conflict in nuxt-entry (#144)
- ensure nuxt load all style and plugins (https://github.com/nuxt-community/storybook/commit/8b733f417a06f52a0101adb0d09988040aeccf18)
- Allow nuxt-link mock to take an Object for the to prop (#158)
๐ 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:
- 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
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
- Add an example for Vuetify using
๐ 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
- Custom Vue app based on nuxt
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
- serve nuxt static dir (#42)
cli
- run storybook in
development
env (#47)
- run storybook in
v1.1.0 8/2/2020
Features
Bug Fixes
- plugins: prevent
window.onNuxtReady
isundefined
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
Learn more on https://storybook.nuxtjs.org