Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 746 Bytes

main-config-manager-head.mdx

File metadata and controls

26 lines (16 loc) · 746 Bytes
title sidebar
managerHead
order title
14
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:

{/* prettier-ignore-start */}

{/* prettier-ignore-end */}