docs: mention env vars in custom head/body

This commit is contained in:
andrekisi 2020-06-09 11:22:14 +02:00
parent 5caae3868a
commit 5fc82fadd5
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ If using relative sizing in your project (like `rem` or `em`), you may update th
</style>
```
That's it. Storybook will inject these tags to html body.
Thats it. Storybook will inject these tags to the html body. It is also possible to use [environment variables](https://storybook.js.org/docs/configurations/env-vars/#usage-in-custom-headbody).
> **Important**
>

View File

@ -12,7 +12,7 @@ You can accomplish this by creating a file called `preview-head.html` inside the
<script>try{ Typekit.load(); } catch(e){ }</script>
```
That's it. Storybook will inject these tags.
That's it. Storybook will inject these tags. It is also possible to use [environment variables](https://storybook.js.org/docs/configurations/env-vars/#usage-in-custom-headbody).
> **Important**
>