Skip to content

Latest commit

 

History

History
47 lines (37 loc) · 1.59 KB

main-config.mdx

File metadata and controls

47 lines (37 loc) · 1.59 KB
title sidebar
Main configuration
order title
1
Overview

The main configuration defines a Storybook project's behavior, including the location of stories, addons to use, feature flags, and other project-specific settings.

main.js or main.ts

This configuration is defined in .storybook/main.js|ts, which is located relative to the root of your project.

A typical Storybook configuration file looks like this:

{/* prettier-ignore-start */}

{/* prettier-ignore-end */}

config

An object to configure Storybook containing the following properties: