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:
parent
78285a65ea
commit
eaa0a42897
3 changed files with 2619 additions and 293 deletions
2897
package-lock.json
generated
2897
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -48,14 +48,20 @@
|
||||||
"zustand": "^5.0.3"
|
"zustand": "^5.0.3"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"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/node": "^22",
|
||||||
"@types/react": "^18",
|
"@types/react": "^18",
|
||||||
"@types/react-dom": "^18",
|
"@types/react-dom": "^18",
|
||||||
|
"@vitejs/plugin-react": "^5.1.2",
|
||||||
"autoprefixer": "^10.4.20",
|
"autoprefixer": "^10.4.20",
|
||||||
"eslint": "^8",
|
"eslint": "^8",
|
||||||
"eslint-config-next": "14.2.15",
|
"eslint-config-next": "14.2.15",
|
||||||
|
"jsdom": "^27.4.0",
|
||||||
"postcss": "^8.4.49",
|
"postcss": "^8.4.49",
|
||||||
"tailwindcss": "^3.4.17",
|
"tailwindcss": "^3.4.17",
|
||||||
"typescript": "^5"
|
"typescript": "^5",
|
||||||
|
"vitest": "^4.0.17"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -143,6 +143,11 @@ const defaultTheme = {
|
||||||
}
|
}
|
||||||
|
|
||||||
export default {
|
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 },
|
theme: { ...defaultTheme, ...theme },
|
||||||
|
plugins: [require("tailwindcss-animate")],
|
||||||
};
|
};
|
||||||
Loading…
Reference in a new issue