Adding base
tag to stories/preview-head.html
#28621
Unanswered
dgibson666
asked this question in
Help
Replies: 1 comment 6 replies
-
I don't have an answer for changing the base, but if the problem is just with accessing assets then there may be another solution. Have you looked at Storybook's Even if you change the base, files may still not be reachable, if Storybook doesn't expose the directory. With |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
I tried adding a base tag to my preview-head.html but it's not working because Storybook is adding its own . How can I update the base path? Everything works locally, but when deployed in a project folder my assets using a relative path starting with
/
are broken. Thanks.Additional information
Storybook 8.1.6
Create a reproduction
No response
Beta Was this translation helpful? Give feedback.
All reactions