-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Easier way of adding a font? #709
Comments
I think -s tells storybook that if there's a request, it must searches in (the) folder(s) passed in the |
@NitroBAY The code above works. I just desire a better way. |
You could use custom middleware to serve it. https://github.com/storybooks/react-storybook/blob/master/src/server/middleware.js#L35 Let me know if you need any more help? |
Dead link btw |
Looking for an easier way to add a font, I got this working, but it's not very obvious how this works.
Then my start script needed:
The text was updated successfully, but these errors were encountered: