Open jim-syn opened 4 months ago
This is actually something we've been looking into. Hopefully it's something we can work into one of the next releases
Would love this feature, keep us posted!
I'm working on a more complete solution but I recently merged #107 to the 1.x
branch which includes the blast:publish-storybook-config
task. This, unsurprisingly, publishes the .storybook
directory from the blast vendor dir into your project dir which means you can install storybook addons in your project and add them to the addons
array in .storybook/main.js
.
As of right now it only supports addons that don't require any updates to stories (this is what I'm working on at the moment) but it should allow you to use the addon you've linked there. You can either update the global_types
data directly in .storybook/preview.js
or using storybook_global_types
in config/blast.php
.
We’re currently looking to add a data-theme switcher addon for use with DaisyUI, but would it be in anyway possible to add the ability to manage storybook addons, so that you could add your own?