A pluggable storybook for your Phoenix components.
lsb-
prefixes have been renamed to psb-
(matching live storybook
renaming to phoenix storybook
).assign
and toggle
events have been prefixed with psb-
(cf. components.md
guide)autoshow
option)
mix phx.gen.storybook
now prints how to set the important sandbox strategy
mix phx.gen.storybook
no longer prints Docker instructions when no Docker file is present.../0
) when evaluating stories.font_awesome_rendering
to :webfont
if you are not using fontawesome with
svg icons.bugfix: fixed hooks not being initialized.
0.18.7+
is requiredHTMLEngine
issue introduced by LiveView 0.18.7.phx_live_storybook
to phoenix_storybook
. In your project:
phx_live_storybook
to phoenix_storybook
PhxLiveStorybook
to PhoenixStorybook
phoenix 1.7+
@doc
or your live_component @moduledoc
comments.