feat: Explicitly configure Tailwind CSS and PostCSS in nuxt.config.ts

This commit is contained in:
2025-10-01 21:18:01 -04:00
parent 108d144774
commit bf158bb83c
2 changed files with 14 additions and 5 deletions

View File

@@ -27,6 +27,12 @@ export default defineNuxtConfig({
} }
} }
}, },
postcss: {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
},
app: { app: {
head: { head: {
link: [ link: [

View File

@@ -12,17 +12,20 @@
"start": "nuxt start" "start": "nuxt start"
}, },
"dependencies": { "dependencies": {
"nuxt": "^4.0.0", "nuxt": "^4.1.2",
"@nuxt/ui": "^4.0.0", "@nuxt/ui": "^4.0.0",
"better-sqlite3": "^11.3.0", "better-sqlite3": "^12.4.1",
"qrcode": "^1.5.4", "qrcode": "^1.5.4",
"jose": "^5.3.0", "jose": "^6.1.0",
"date-fns": "^4.1.0", "date-fns": "^4.1.0",
"bcryptjs": "^2.4.3" "bcryptjs": "^3.0.2"
}, },
"devDependencies": { "devDependencies": {
"typescript": "^5.4.0", "typescript": "^5.4.0",
"@types/better-sqlite3": "^7.6.8", "@types/better-sqlite3": "^7.6.8",
"@types/qrcode": "^1.5.5" "@types/qrcode": "^1.5.5",
"tailwindcss": "^3.0.0",
"postcss": "^8.0.0",
"autoprefixer": "^10.0.0"
} }
} }