Skip to content
Discussion options

You must be logged in to vote

Hey!

The issue is that your component lives in src/features, but you only told Tailwind CSS to scan for src/pages, src/components and src/app. Make sure you also scan for src/features:

diff --git a/tailwind.config.ts b/tailwind.config.ts
index b653b04..3f25474 100644
--- a/tailwind.config.ts
+++ b/tailwind.config.ts
@@ -5,6 +5,7 @@ export default {
     content: [
     "./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
     "./src/components/**/*.{js,ts,jsx,tsx,mdx}",
+    "./src/features/**/*.{js,ts,jsx,tsx,mdx}",
     "./src/app/**/*.{js,ts,jsx,tsx,mdx}",
   ],
   theme: {

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@NATNgoc
Comment options

Answer selected by NATNgoc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #16193 on February 03, 2025 10:26.