Fix TailwindCSS PostCSS error: add @tailwindcss/postcss plugin and PostCSS config

This commit is contained in:
Ryderjj89
2025-09-29 19:12:27 -04:00
parent 083f4fa542
commit 8bc1f2f757
2 changed files with 8 additions and 1 deletions

View File

@@ -19,7 +19,8 @@
"qrcode": "^1.5.4",
"jose": "^5.3.0",
"date-fns": "^3.6.0",
"bcrypt": "^5.1.1"
"bcrypt": "^5.1.1",
"@tailwindcss/postcss": "^4.0.0"
},
"devDependencies": {
"typescript": "^5.4.0",

6
postcss.config.js Normal file
View File

@@ -0,0 +1,6 @@
module.exports = {
plugins: {
'@tailwindcss/postcss': {},
autoprefixer: {},
},
}