Breeze.Storybook (Breeze v0.5.0)

Copy Markdown View Source

Root view for the interactive Breeze Storybook browser.

Start a project's Storybook with the included Mix task:

mix breeze.storybook

It can also be started like any other Breeze application by passing Storybook configuration through :start_opts:

Breeze.Server.start_link(
  view: Breeze.Storybook,
  start_opts: [directory: "storybook"]
)

The supported options are:

  • :directory - directory containing story files. Defaults to "storybook".
  • :file - optional story file to load instead of scanning the directory.