Storybook: Custom Head Tag is not loaded

Created on 22 Dec 2017  路  1Comment  路  Source: storybookjs/storybook

Issue details

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?

Steps to reproduce

Do above instructed steps

Please specify which version of Storybook and optionally any affected addons that you're running

  • @react 16.2.0
  • @storybook 1.0.0

    Affected platforms

Mac OS latest

Screenshots / Screencast / Code Snippets (Optional)

// code here

Most helpful comment

silly me, I did preview_head instead preview-head. man

>All comments

silly me, I did preview_head instead preview-head. man

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rpersaud picture rpersaud  路  3Comments

tirli picture tirli  路  3Comments

arunoda picture arunoda  路  3Comments

oriSomething picture oriSomething  路  3Comments

dnlsandiego picture dnlsandiego  路  3Comments