@nrwl/storybook:init
Add Storybook Configuration to the workspace.
Usage
nx generate init ...
nx g ng-add ... #same
By default, Nx will search for init
in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
nx g @nrwl/storybook:init ...
Show what will be generated without writing to disk:
nx g init ... --dry-run
Options
uiFramework
string
Accepted values:
@storybook/angular
, @storybook/react
, @storybook/html
, @storybook/web-components
, @storybook/vue
, @storybook/vue3
, @storybook/svelte
, @storybook/react-native
Storybook UI Framework to use.