Skip to content

Commit

Permalink
docs: Fixed file extenssion in docs (#618)
Browse files Browse the repository at this point in the history
  • Loading branch information
cogor committed Oct 25, 2023
1 parent fc4802a commit 3f44f68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/examples/tailwind.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ Make sure your project has a style file with the [Tailwind directives](https://t
Histoire allows us to execute a setup file automatically when rendering the stories. This is useful to add global CSS files. [Learn more](../guide/config.md#global-js-and-css)

```js
// src/histoire-setup.js
// src/histoire-setup.ts

import './tailwind.css'
```

We need to tell Histoire to use this file in the configuration file. [Learn more](../reference/config.md#setupfile)

```js
// histoire.config.js
// histoire.config.ts

import { defineConfig } from 'histoire'

Expand Down

0 comments on commit 3f44f68

Please sign in to comment.