storybook

Storybook integration with Nuxt.

Downloads
209.5K
Stars
361
Committers
19

Bot releases are visible (Hide)

storybook -

Published by farnabaz about 4 years ago

๐Ÿš€ 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
storybook - v2.2.2

Published by farnabaz about 4 years ago

๐Ÿ› Bug Fixes

  • eject:
    • undefined srcDir issue ยท 039c3de
storybook -

Published by farnabaz about 4 years ago

๐Ÿ› Bug Fixes

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

๐Ÿก Chore

  • examples
    • Use controls addon instead of knobs
storybook -

Published by farnabaz about 4 years ago

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

Published by farnabaz about 4 years ago

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

Published by farnabaz about 4 years ago

๐Ÿš€ Features

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

๐Ÿ› Bug Fixes

  • storybook
    • escape win32 paths (#63)

๐Ÿ’– Thanks to

  • @lihbr
storybook -

Published by farnabaz about 4 years ago

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

Published by farnabaz about 4 years ago

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)
storybook - v1.0.0

Published by Atinux about 4 years ago