[Invalid] Using preview-head.html
to load fonts in Storybook
#18
Labels
invalid
This doesn't seem right
preview-head.html
to load fonts in Storybook
#18
Describe the Issue
We are encountering a syntax error when trying to integrate
next/font
with Storybook alongside vanilla-extract.As a workaround, we currently use the
.storybook/preview-head.html
file to load fonts.This issue is related to a known limitation discussed in storybookjs/storybook/issues/26845.
To Reproduce
Import local fonts in the
.storybook/preview.tsx
file.Screenshots
Possible Solution
.storybook/preview-head.html
for font loading until the issue is resolved.Additional context
The text was updated successfully, but these errors were encountered: