This package has been deprecated

Author message:

Vue2 will end-of-life on 2023-12-31, so we plan to remove support in Storybook's next major release. More info: https://github.com/storybookjs/storybook/discussions/24951

@storybook/vue-vite
TypeScript icon, indicating that this package has built-in type declarations

7.6.17 • Public • Published

Storybook for Vue 2 and Vite

Storybook for Vue 2 is a UI development environment for your Vue 2 components. With it, you can visualize different states of your UI components and develop them interactively.

Storybook Screenshot

Storybook runs outside of your app. So you can develop UI components in isolation without worrying about app specific dependencies and requirements.

Getting Started

cd my-vue-app
npx storybook@latest init

For more information visit: storybook.js.org

Starter Storybook-for-Vue Boilerplate project with Vuetify Material Component Framework

https://github.com/white-rabbit-japan/vue-vuetify-storybook


Storybook also comes with a lot of addons and a great API to customize as you wish. You can also build a static version of your Storybook and deploy it anywhere you want.

Vue Notes

  • When using global custom components or extensions (e.g., Vue.use). You will need to declare those in the ./storybook/preview.js.

Known Limitations

In Storybook story and decorator components, you can not access the Vue instance in factory functions for default prop values:

{
  props: {
    foo: {
      default() {
        return this.bar; // does not work!
      }
    }
  }
}

/@storybook/vue-vite/

    Package Sidebar

    Install

    npm i @storybook/vue-vite

    Weekly Downloads

    16,385

    Version

    7.6.17

    License

    MIT

    Unpacked Size

    98.5 kB

    Total Files

    10

    Last publish

    Collaborators

    • domyen
    • kasperpeulen
    • valentinpalkovic
    • jreinhold
    • kylegach
    • ndelangen
    • shilman
    • tmeasday
    • ghengeveld
    • winkervsbecks
    • yannbf