mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-21 05:02:39 +08:00
24 lines
894 B
Markdown
24 lines
894 B
Markdown
# Storybook for Mithril
|
|
|
|
Storybook for Mithril is a UI development environment for your Mithril components.
|
|
With it, you can visualize different states of your UI components and develop them interactively.
|
|
|
|

|
|
|
|
Storybook runs outside of your app.
|
|
So you can develop UI components in isolation without worrying about app specific dependencies and requirements.
|
|
|
|
## Getting Started
|
|
|
|
```sh
|
|
cd my-mithril-app
|
|
npx -p @storybook/cli sb init
|
|
```
|
|
|
|
For more information visit: [storybook.js.org](https://storybook.js.org)
|
|
|
|
---
|
|
|
|
Storybook also comes with a lot of [addons](https://storybook.js.org/addons/introduction) and a great API to customize as you wish.
|
|
You can also build a [static version](https://storybook.js.org/basics/exporting-storybook) of your storybook and deploy it anywhere you want.
|