New
Storybook’s Visual Tests addon enters betaVisual test with Chromatic
Star82,187

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.

With configuration objects

You can also use a configuration object to define the directories:

Was this page helpful?

Markdown accepted ([link text](url), _italic_, **bold**, etc). Your anonymous feedback will be posted publicly on GitHub.

✍️ Edit on GitHub – PRs welcome!
Storybook
Join the community
6,521 developers and counting
WhyWhy StorybookComponent-driven UI
Open source software
Storybook

Maintained by
Chromatic
Special thanks to Netlify and CircleCI