phenixdigital / phoenix_storybook

A pluggable storybook for your Phoenix components.
MIT License
642 stars 49 forks source link

How can I add components from different module than CoreComponents? #424

Closed drlogout closed 5 months ago

drlogout commented 5 months ago

I would like to generate storybook files from my own components in a different module than CoreComponents, for example a module called DemoWeb.SiteComponents.

I can't find anything in the documentation, is this possible?

Thanks! Chris

cblavier commented 5 months ago

Hey Chris,

of course, you can showcase any components other than CoreComponents.

I can suggest you to have a look at the demo storybook repository, available here: https://github.com/phenixdigital/phoenix_storybook_demo

Custom components have been created in lib/phoenix_storybook_demo/components