mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-08 11:11:53 +08:00
- # config.core -> # core - ## `config.core.builder` -> ## `builder` - Add "Parent: [main.js|ts configuration](./Overview.md)" - Update TOC menu title
846 B
846 B
title |
---|
staticDirs |
Parent: main.js|ts configuration
Type: (string | { from: string; to: string })[]
Sets a list of directories of static files to be loaded by Storybook.
<CodeSnippets paths={[ 'common/storybook-main-with-multiple-static-dir.js.mdx', 'common/storybook-main-with-multiple-static-dir.ts.mdx', ]} />
With configuration objects
You can also use a configuration object to define the directories:
<CodeSnippets paths={[ 'common/storybook-main-with-object-configuration-static-dir.js.mdx', 'common/storybook-main-with-object-configuration-static-dir.ts.mdx', ]} />