Standalone Options
There is also an API for running Storybook from Node.
Where the APP is one of the supported apps. For example:
Mode
Mode is defining what Storybook mode will be applied:
dev
run Storybook in a dev mode - similar to start-storybook
in CLI
static
build static version of Storybook - similar to build-storybook
in CLI
Other options are similar to those in the CLI.
For “dev” mode:
For “static” mode:
Example: