-
-
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
Reference to local files #210
Comments
Hi Dan, You can use the
|
Cheers @mnmtanish. That solved it! |
Just to help if anyone else runs into this, I wasn't having much luck finding how to import a CSS file with
<!-- preview-head.html -->
<link rel="stylesheet" href="./app/styles.css" /> /* styles.css */
@font-face {
font-family: 'Open Sans';
src: url('./../../assets/fonts/OpenSans/OpenSans-Regular.ttf')
format('truetype');
} And finally, the
The ticket here was including the |
@mnmtanish However, storybook doesn't reload when those files change. Is there a way to do that? |
Just to check
Works great locally for me if I have |
Hi,
How would one reference say some local
.css
file that's located indist
folder next to my.storybook
folder?I've seen the examples of using
head.html
but every example has references to anything else but local files.Br,
Dan
The text was updated successfully, but these errors were encountered: