Schema for internal use only

Please do not extend this schema as it is part of Nx internal usage.

@nrwl/angular:component-story

Creates a stories.ts file for an Angular component.

Usage

nx generate component-story ...

By default, Nx will search for component-story in the default collection provisioned in workspace.json.

You can specify the collection explicitly as follows:

nx g @nrwl/angular:component-story ...

Show what will be generated without writing to disk:

nx g component-story ... --dry-run

Options

componentName

Required
string

Class name of the component.

componentPath

Required
string

Relative path to the component file from the project root.

componentFileName

Required
string

Component file name without the .ts extension.

projectPath

Required
string

Path to the project.

skipFormat

boolean
Default: false

Skip formatting files.