nx/docs/react/api-angular/generators/storybook-migrate-stories-to-6-2.md
2021-07-01 10:11:36 +01:00

591 B

storybook-migrate-stories-to-6-2

Migrates stories to match the new syntax in v6.2 where the component declaration should be in the default export.

Usage

nx generate storybook-migrate-stories-to-6-2 ...

By default, Nx will search for storybook-migrate-stories-to-6-2 in the default collection provisioned in workspace.json.

You can specify the collection explicitly as follows:

nx g @nrwl/angular:storybook-migrate-stories-to-6-2 ...

Show what will be generated without writing to disk:

nx g storybook-migrate-stories-to-6-2 ... --dry-run