I read https://storybook.js.org/configurations/add-custom-head-tags/ and added preview-head.html
into .storybook/
dir. But it never actual render upon the component style!
Below is the content
<link rel="stylesheet" href="./bootstrap/4.0.0-beta.2/bootstrap.css" type="text/css">
<style>
div {
color: orange!important;
}
</style>
<script>try{ Typekit.load(); } catch(e){ }</script>
but when I inject similar header as manager-head.html
in .storybook/
then it works, but ONLY for the control panel.
What is going on?
Do above instructed steps
Mac OS latest
// code here
silly me, I did preview_head
instead preview-head
. man
Most helpful comment
silly me, I did
preview_head
insteadpreview-head
. man