Skip to content

Commit 60ad972

Browse files
committed
Installed and Configured DaisyUI
1 parent 5da1613 commit 60ad972

File tree

5 files changed

+185
-312
lines changed

5 files changed

+185
-312
lines changed

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"@typescript-eslint/eslint-plugin": "^7.7.1",
2929
"@typescript-eslint/parser": "^7.7.1",
3030
"@vitejs/plugin-react": "^4.2.1",
31+
"daisyui": "^4.10.2",
3132
"eslint": "8",
3233
"eslint-config-prettier": "^9.1.0",
3334
"eslint-config-react-app": "^7.0.1",

postcss.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@ export default {
22
plugins: {
33
tailwindcss: {},
44
autoprefixer: {},
5+
'daisyui': {}, // added as a plugin
56
},
67
}

src/app.scss

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
@import 'tailwindcss/base';
22
@import 'tailwindcss/components';
3-
@import 'tailwindcss/utilities';
3+
@import 'tailwindcss/utilities';
4+
@import 'daisyui';

tailwind.config.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ export default {
44
theme: {
55
extend: {},
66
},
7-
plugins: [],
7+
plugins: [
8+
require('daisyui'),
9+
],
810
}
911

0 commit comments

Comments
 (0)