@nx/angular:component-story
Creates a stories.ts
file for an Angular component.
Monorepo World: October 7, 2024Monorepo World: October 7, 2024Join us!
Please do not extend this schema as it is part of Nx internal usage.
Creates a stories.ts
file for an Angular component.
1nx generate component-story ...
2
By default, Nx will search for component-story
in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
1nx g @nx/angular:component-story ...
2
Show what will be generated without writing to disk:
1nx g component-story ... --dry-run
2
Class name of the component.
Relative path to the component file from the project root.
Component file name without the .ts
extension.
Path to the project.
true
Set up Storybook interaction tests.
false
Skip formatting files.
Join us live for exciting talks on developer tooling and monorepos! Catch the action on YouTube and join the conversation on Discord!