You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 8, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,11 +15,15 @@
15
15
16
16
## 📦 Setup
17
17
18
+
First, install `react-threads` with it's dependencies.
19
+
18
20
```bash
19
21
yarn add next react-threads threads-api
20
22
yarn add -D tailwindcss postcss autoprefixer
21
23
```
22
24
25
+
Add path to `react-threads` to [content sources](https://tailwindcss.com/docs/content-configuration) of your Tailwind Configuration file(`tailwind.config.js`).
26
+
23
27
```js
24
28
// tailwind.config.js
25
29
@@ -34,6 +38,8 @@ module.exports = {
34
38
};
35
39
```
36
40
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.
0 commit comments