contentlayerdev / contentlayerdev/next-contentlayer-example

Incorrect Tailwind config

オープン
#19 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
104
フォーク
37
PR マージ指標
30日以内にマージされた PR はありません

説明

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}",
(...)
```

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
next.js, tailwindcss
領域
frontend
issue の種類
バグ
難易度
1/5
見積もり時間
1時間未満
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。