vite、vue3和storybook
关于storybook
storybook是什么?
Storybook is a tool for UI development. It makes development faster and easier by isolating components. This allows you to work on one component at a time. You can develop entire UIs without needing to start up a complex dev stack, force certain data into your database, or navigate around your application.
storybook可以干什么?
- 根据组件注释生成对应的文档信息
- 根据组件
prop
类型自动生成对应类型的交互控制 - 可以编写组件交互示例
- 可以进行组件测试
etc