Skip to content
This repository was archived by the owner on Sep 8, 2023. It is now read-only.

Commit 2e4e38e

Browse files
committed
2 parents ccc110f + bd73bd3 commit 2e4e38e

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,15 @@
1515

1616
## 📦 Setup
1717

18+
First, install `react-threads` with it's dependencies.
19+
1820
```bash
1921
yarn add next react-threads threads-api
2022
yarn add -D tailwindcss postcss autoprefixer
2123
```
2224

25+
Add path to `react-threads` to [content sources](https://tailwindcss.com/docs/content-configuration) of your Tailwind Configuration file(`tailwind.config.js`).
26+
2327
```js
2428
// tailwind.config.js
2529

@@ -34,6 +38,8 @@ module.exports = {
3438
};
3539
```
3640

41+
Set [`images.remotePatterns` to your app's `next.config.js`](https://nextjs.org/docs/pages/api-reference/components/image#remotepatterns). We use `next/image` to proxy images under the hood.
42+
3743
```js
3844
// next.config.js
3945

0 commit comments

Comments
 (0)