contentlayerdev / contentlayerdev/next-contentlayer-example
Incorrect Tailwind config
- Vorherrschende Sprache
- TypeScript
- Sterne
- 104
- Forks
- 37
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
I won't fork for such a small change.
Your `tailwind.config.js` is pointing to the `pages` folder, but you are implementing next's experimental `app` folder so no tailwind styling is being generated.
```js
(...)
content: [
"./pages/**/*.{js,ts,jsx,tsx}",
(...)
```
Should be
```js
(...)
content: [
"./app/**/*.{js,ts,jsx,tsx}",
(...)
```
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Open tailwind.config.js and inspect the content paths used for the Next app. Update the configuration to cover the app folder as described in the issue, then verify that Tailwind styling is generated for files under app.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- next.js, tailwindcss
- Bereich
- frontend
- Issue-Typ
- Bug
- Schwierigkeit
- 1/5
- Geschätzter Aufwand
- Unter einer Stunde
- Aktivitätsstatus
- Veraltet
- Klarheit
- Klar beschrieben
- Anfängerfreundlichkeit
- 35/100