title | description |
---|---|
@nrwl/storybook:storybook executor |
Serve Storybook |
Serve Storybook
Options can be configured in workspace.json
when defining the executor, or when invoking it. Read more about how to configure targets and executors here: https://nx.dev/configuration/projectjson#targets.
uiFramework (required) (hidden)
Default: @storybook/angular
Type: string
Possible values: @storybook/angular
, @storybook/react
, @storybook/html
, @storybook/web-components
, @storybook/vue
, @storybook/vue3
, @storybook/svelte
Storybook framework npm package
Default: false
Type: boolean
Build a documentation-only site using addon-docs.
Default: localhost
Type: string
Host to listen on.
Default: false
Type: boolean
Serve using HTTPS.
Default: 9009
Type: number
Port to listen on.
Type: string
Workspace project where Storybook reads the Webpack config from
Default: true
Type: boolean
Suppress verbose build output.
Type: string
SSL certificate to use for serving HTTPS.
Type: string
SSL key to use for serving HTTPS.
Type: array
Deprecated: This field has been renamed to staticDirs.
Directory where to load static files from, array of strings
Type: array
Directory where to load static files from, array of strings or object with from, to keys
Type: array
Options to pass to style preprocessors. The paths to include. Paths will be resolved to workspace root. This is for Angular projects only, as an option for the Storybook/Angular builder. It will be ignored in non-Angular projects.
Type: array
Global styles to be included in the build. This is for Angular projects only, as an option for the Storybook/Angular builder. It will be ignored in non-Angular projects.
Default: true
Type: boolean
Watches for changes and rebuilds application