@nrwl/storybook:storybook
Serve up storybook in development mode.
Options can be configured in project.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.
Options
docsMode
false
Build a documentation-only site using addon-docs.
host
localhost
Host to listen on.
https
false
Serve using HTTPS.
port
9009
Port to listen on.
projectBuildConfig
Workspace project where Storybook reads the Webpack config from.
quiet
true
Suppress verbose build output.
sslKey
SSL key to use for serving HTTPS.
sslCert
SSL certificate to use for serving HTTPS.
staticDir
Directory where to load static files from, array of strings.
In Storybook 6.4 the --static-dir
CLI flag has been replaced with the the staticDirs
field in .storybook/main.js
. It will be removed completely in Storybook 7.0.
styles
Global styles to be included in the build. This is for Angular projects only. It will be ignored in non-Angular projects.
uiFramework
@storybook/angular
@storybook/angular
, @storybook/react
, @storybook/html
, @storybook/web-components
, @storybook/vue
, @storybook/vue3
, @storybook/svelte
Storybook framework npm package.
watch
true
Watches for changes and rebuilds application.