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

6.2.0 • Public • Published

Storybook for Vue 3

Storybook for Vue 3 is a UI development environment for your Vue 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 -p @storybook/cli sb init

For more information visit: storybook.js.org


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.

Extending Vue Application

  • When using global custom components or extension (e.g app.use). You will need to do the following example in ./storybook/preview.js.
// .storybook/preview.js

import { app } from '@storybook/vue3'

app.use(MyPlugin)
app.component(MyComponent)
app.mixin({ /* My mixin */ })

// export const ...

/@alibaba-aero/storybook-vue/

    Package Sidebar

    Install

    npm i @alibaba-aero/storybook-vue

    Weekly Downloads

    2

    Version

    6.2.0

    License

    MIT

    Unpacked Size

    31.3 kB

    Total Files

    55

    Last publish

    Collaborators

    • pi0
    • farnabaz
    • farzadso
    • mirzarazi
    • sh.nouri
    • amiraliameri
    • mehdi_hp
    • javid.izadfar
    • sasanfarrokh