Storybook Since 3.2, support for Vuejs has been added, so I will try using it at once.
Storybook is a tool that makes it easy to create catalogs of components, cataloging self-made components in the project and how to use it.
npm i - g @ storybook / cli
Prepared by existing Vuejs project
cd Directory where vuejs project is located
Installing the storybook
yarn run storybook
In this state, opening http://localhost:6006/ opens the default setting screen.
To add a component to a storybook, add a definition to
index.js in the
stories directory created with
You can change this
stories directory by editing
.storybook / config.js.