When creating live components with the DSM Storybook integration, it's possible to include static assets such as fonts and images.
To bundle local files with your Storybook bundle, you’ll need to create a static directory to store them in. For the example used in this article, the directory is named static and placed in the root of the project.
Continuing with this example, if you want to add a custom font, you could use the following file structure:
The next step is to tell Storybook to include this directory. This is done via the -s flag in the scripts section of the package.json file, as shown below.