Skip to content

ngx-storybook/schematics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Schematics for Angular and Storybook Workshops

npm version

Installation

ng add @ngx-storybook/schematics

This 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 button

This command creates a module, component and a story with the given name.

stories (alias: s)

ng g @ngx-storybook/schematics:s my-stories

This command creates a stories file with the given name.

About

Schematics for Angular and Storybook Workshops

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •