Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add link to example repo in README #16

Merged
merged 1 commit into from
Jan 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading