1.0.7 • Published 3 years ago
@gridscale/ngx-storybook-schematics v1.0.7
Schematics for Angular and Storybook Workshops
Installation
ng add @ngx-storybook/schematicsThis schematic automatically adjusts .storybook/config.js to include all stories.ts files inside the src folder, not only from src/stories.
Usage
component (alias: c)
ng g @ngx-storybook/schematics:c buttonThis command creates a module, component and a story with the given name.
stories (alias: s)
ng g @ngx-storybook/schematics:s my-storiesThis command creates a stories file with the given name.