I'm looking to generate a .stories.ts
file inside a component folder once we have run ng g component my-component
.
The final result should look somehting like this:
my-component
-my-component.component.html
.
.
.
-my-component.stories.ts
What I've found so far is a PR that seems to be resolved about using angular with storybook, but i can't find something that explicitly tells how i can do this
The other solution i came across is creating the sript that generates this extra file by myself so that i can run somehting like:
ng g component my-component && node generate-story-file.js my-component
Does anyone know if there is another solution?
Thx