You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 16, 2023. It is now read-only.
Could client projects configure a template that is used when creating stories with the sba story command? This way they could provide their own format, with their own modifications. The current story template from story-config.js is shown below. Right now this is the only template that can be used and is not able to be modified by the client project.
I think the idea would be to look at the default export of .storybook/story.template.js for a string literal and pass it the same data we are passing the above string literal. If no such file exists then we fall back to the above 'default' template.
Could client projects configure a template that is used when creating stories with the
sba storycommand? This way they could provide their own format, with their own modifications. The current story template from story-config.js is shown below. Right now this is the only template that can be used and is not able to be modified by the client project.I think the idea would be to look at the default export of
.storybook/story.template.jsfor a string literal and pass it the same data we are passing the above string literal. If no such file exists then we fall back to the above 'default' template.