Fix Tailwind CSS configuration and add test dependencies

- Update Tailwind config to include app directory
- Add tailwindcss-animate plugin
- Install missing vitest and testing library dependencies
- Ensure CSS processing works correctly with Next.js
This commit is contained in:
Claude 2026-01-18 02:41:51 +00:00
parent 78285a65ea
commit eaa0a42897
No known key found for this signature in database
3 changed files with 2619 additions and 293 deletions

2897
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -48,14 +48,20 @@
"zustand": "^5.0.3"
},
"devDependencies": {
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.1",
"@testing-library/user-event": "^14.6.1",
"@types/node": "^22",
"@types/react": "^18",
"@types/react-dom": "^18",
"@vitejs/plugin-react": "^5.1.2",
"autoprefixer": "^10.4.20",
"eslint": "^8",
"eslint-config-next": "14.2.15",
"jsdom": "^27.4.0",
"postcss": "^8.4.49",
"tailwindcss": "^3.4.17",
"typescript": "^5"
"typescript": "^5",
"vitest": "^4.0.17"
}
}

View file

@ -143,6 +143,11 @@ const defaultTheme = {
}
export default {
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
"./app/**/*.{js,ts,jsx,tsx}",
],
theme: { ...defaultTheme, ...theme },
plugins: [require("tailwindcss-animate")],
};