Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 785 Bytes

main-config-static-dirs.md

File metadata and controls

35 lines (24 loc) · 785 Bytes
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/main-config-static-dirs.js.mdx', 'common/main-config-static-dirs.ts.mdx', ]} />

With configuration objects

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

<CodeSnippets paths={[ 'common/main-config-static-dirs-with-object.js.mdx', 'common/main-config-static-dirs-with-object.ts.mdx', ]} />