Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 770 Bytes

main-config-manager-head.md

File metadata and controls

28 lines (18 loc) · 770 Bytes
title
managerHead

Parent: main.js|ts configuration

Type: (head: string) => string

Programmatically adjust the manager's <head> of your Storybook. For example, load a custom font or add a script. Most often used by addon authors.

If you don't need to programmatically adjust the manager head, you can add scripts and styles to manager-head.html instead.

For example, you can conditionally add scripts or styles, depending on the environment:

<CodeSnippets paths={[ 'common/main-config-manager-head.js.mdx', 'common/main-config-manager-head.ts.mdx', ]} />