Skip to content

Commit

Permalink
Add link to example repo in README (#16) [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaun Evening authored Jan 5, 2024
1 parent 70353be commit d987f31
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,11 @@ It can also take Webpack plugins to add to the Storybook config.
```

### 🧩 Popular Configurations
Below are a few popular configurations for common styling tools to get you started. More complex configurations are possible by combining the different rules below.****
Below are a few popular configurations for common styling tools to get you started. More complex configurations are possible by combining the different rules below.

#### PostCSS
```js
// Often used for tailwind
{
name: '@storybook/addon-styling-webpack',
options: {
Expand All @@ -107,6 +108,8 @@ Below are a few popular configurations for common styling tools to get you start
}
```

You can also take a look at this [example project](https://stackblitz.com/edit/github-5njuww?file=.storybook%2Fmain.ts) that uses PostCSS for **Tailwind** with Storybook:

#### CSS Modules
```js
{
Expand Down Expand Up @@ -222,6 +225,17 @@ Below are a few popular configurations for common styling tools to get you start
}
```

## Troubleshooting

<details>
<summary>
This isn't working in my monorepo.
</summary>

Monorepos are a more advanced setup that may require a bit more configuration. To find out more. Refer to the Storybook FAQs on [monorepos](https://storybook.js.org/docs/faq#how-do-i-fix-module-resolution-in-special-environments).

</details>

## 🤝 Contributing

If you'd like to contribute to this addon, **THANK YOU**, I'd love your help 🙏
Expand Down

0 comments on commit d987f31

Please sign in to comment.