Skip to content

Commit 07f1d60

Browse files
committed
fix: resolve Tailwind CSS v4 configuration and PostCSS plugin issues
1 parent b45faaf commit 07f1d60

4 files changed

Lines changed: 126 additions & 4 deletions

File tree

frontend/postcss.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const config = {
22
plugins: {
3-
tailwindcss: {},
3+
'@tailwindcss/postcss': {},
44
autoprefixer: {},
55
},
66
};

frontend/src/app/globals.css

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
@tailwind base;
2-
@tailwind components;
3-
@tailwind utilities;
1+
@import "tailwindcss";
42

53
/* Example: Custom global styles */
64
body {

frontend/tailwind.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,8 @@ module.exports = {
55
'./src/components/**/*.{js,ts,jsx,tsx}',
66
'./src/lib/**/*.{js,ts,jsx,tsx}',
77
],
8+
theme: {
9+
extend: {},
10+
},
11+
plugins: [],
812
};

package-lock.json

Lines changed: 120 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)