Update to include DaisyUI over Headless

This commit is contained in:
Nick Bland 2022-07-19 14:19:51 +10:00
parent 71e6dfabd6
commit fd5e8fc200
No known key found for this signature in database
GPG Key ID: B46CF88E4DAB4A2C
3 changed files with 10 additions and 17 deletions

16
package-lock.json generated
View File

@ -8,9 +8,9 @@
"name": "website-2.0",
"version": "0.1.0",
"dependencies": {
"@headlessui/react": "^1.5.0",
"daisyui": "^1.25.4",
"next": "^12.2.2",
"next-themes": "^0.1.1",
"next-themes": "^0.2.0",
"react": "18.0.0",
"react-dom": "18.0.0",
"react-icons": "^4.3.1"
@ -72,18 +72,6 @@
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
}
},
"node_modules/@headlessui/react": {
"version": "1.6.6",
"resolved": "https://registry.npmjs.org/@headlessui/react/-/react-1.6.6.tgz",
"integrity": "sha512-MFJtmj9Xh/hhBMhLccGbBoSk+sk61BlP6sJe4uQcVMtXZhCgGqd2GyIQzzmsdPdTEWGSF434CBi8mnhR6um46Q==",
"engines": {
"node": ">=10"
},
"peerDependencies": {
"react": "^16 || ^17 || ^18",
"react-dom": "^16 || ^17 || ^18"
}
},
"node_modules/@humanwhocodes/config-array": {
"version": "0.9.5",
"resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.9.5.tgz",

View File

@ -9,9 +9,9 @@
"lint": "next lint"
},
"dependencies": {
"@headlessui/react": "^1.5.0",
"daisyui": "^1.25.4",
"next": "^12.2.2",
"next-themes": "^0.1.1",
"next-themes": "^0.2.0",
"react": "18.0.0",
"react-dom": "18.0.0",
"react-icons": "^4.3.1"

View File

@ -31,5 +31,10 @@ module.exports = {
},
},
},
plugins: [],
plugins: [
require("daisyui")
],
daisyui: {
themes: false,
},
}