mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-28 05:10:17 +08:00
docs: mention env vars in custom head/body
This commit is contained in:
parent
5caae3868a
commit
5fc82fadd5
@ -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.
|
||||
That’s 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**
|
||||
>
|
||||
|
@ -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**
|
||||
>
|
||||
|
Loading…
x
Reference in New Issue
Block a user