I had no idea that the storybook’s demo app deployed on Fly was completely broken, but I just fixed it and redeployed it. I’m impressed by how Fly’s deployment experience has improved over the past 6 months.
Hi, I use ClojureScript instead of JavaScript to add dynamic functionality to my components, e.g dropdown. How can I configure my application to compile my ClojureScript code to Storybook so that the dropdown button’s dynamic functionality works in Storybook?
Storybook doesn’t compile anything on its own. It only documents how you integrate storybook.js into the default phoenix assets pipeline, so eventually a priv/static/assets/storybook.js file is created. You can do all the customizations you have for app.js handling to storybook.js as well.
This is mostly related to Phoenix preferring heroicons to be referenced as local CSS classes rather than functions from a third-party Elixir package. Read this guide for further details
I will now work on improving component documentation rendering, including markdown support: issue #514, issue #515 and issue #516