From 70075e373d3333db346e75706607e4b3ef80e919 Mon Sep 17 00:00:00 2001 From: hildxd Date: Tue, 16 Jan 2024 15:38:13 +0800 Subject: [PATCH] chore: add daisyUI --- apps/client/app.vue | 3 ++- apps/client/package.json | 1 + apps/client/tailwind.config.js | 5 ++--- pnpm-lock.yaml | 31 +++++++++++++++++++++++++++++++ 4 files changed, 36 insertions(+), 4 deletions(-) diff --git a/apps/client/app.vue b/apps/client/app.vue index 95ca0a64a..208513783 100644 --- a/apps/client/app.vue +++ b/apps/client/app.vue @@ -1,5 +1,6 @@ diff --git a/apps/client/package.json b/apps/client/package.json index e2170d184..498b87aba 100644 --- a/apps/client/package.json +++ b/apps/client/package.json @@ -11,6 +11,7 @@ }, "devDependencies": { "@nuxtjs/tailwindcss": "^6.10.4", + "daisyui": "^4.6.0", "nuxt": "^3.9.0", "tailwindcss": "^3.4.1", "vue": "^3.4.6", diff --git a/apps/client/tailwind.config.js b/apps/client/tailwind.config.js index c189a4a51..d09b78f53 100644 --- a/apps/client/tailwind.config.js +++ b/apps/client/tailwind.config.js @@ -4,6 +4,5 @@ export default { theme: { extend: {}, }, - plugins: [], -} - + plugins: [require("daisyui")], +}; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3917ab2a2..039693d03 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -127,6 +127,9 @@ importers: '@nuxtjs/tailwindcss': specifier: ^6.10.4 version: 6.10.4 + daisyui: + specifier: ^4.6.0 + version: 4.6.0(postcss@8.4.33) nuxt: specifier: ^3.9.0 version: 3.9.1(@types/node@20.11.0)(typescript@5.3.3)(vite@5.0.11) @@ -4330,6 +4333,13 @@ packages: nth-check: 2.1.1 dev: true + /css-selector-tokenizer@0.8.0: + resolution: {integrity: sha512-Jd6Ig3/pe62/qe5SBPTN8h8LeUg/pT4lLgtavPf7updwwHpvFzxvOQBHYj2LZDMjUnBzgvIUSjRcf6oT5HzHFg==} + dependencies: + cssesc: 3.0.0 + fastparse: 1.1.2 + dev: true + /css-tree@2.2.1: resolution: {integrity: sha512-OA0mILzGc1kCOCSJerOeqDxDQ4HOh+G8NbOJFOTgOCzpw7fCBubk0fEyxp8AgOL/jvLgYA/uV0cMbe43ElF1JA==} engines: {node: ^10 || ^12.20.0 || ^14.13.0 || >=15.0.0, npm: '>=7.0.0'} @@ -4426,6 +4436,11 @@ packages: resolution: {integrity: sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==} dev: true + /culori@3.3.0: + resolution: {integrity: sha512-pHJg+jbuFsCjz9iclQBqyL3B2HLCBF71BwVNujUYEvCeQMvV97R59MNK3R2+jgJ3a1fcZgI9B3vYgz8lzr/BFQ==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + dev: true + /d@1.0.1: resolution: {integrity: sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA==} dependencies: @@ -4433,6 +4448,18 @@ packages: type: 1.2.0 dev: true + /daisyui@4.6.0(postcss@8.4.33): + resolution: {integrity: sha512-B5ZB/sczXpp4LMdo/SZrtYY/U2hq+Vr9I15QawuWZ0VwgtSAbuZpAZUftKVryEsPuv3BM0yVlBED0nAmtis/dw==} + engines: {node: '>=16.9.0'} + dependencies: + css-selector-tokenizer: 0.8.0 + culori: 3.3.0 + picocolors: 1.0.0 + postcss-js: 4.0.1(postcss@8.4.33) + transitivePeerDependencies: + - postcss + dev: true + /debug@2.6.9: resolution: {integrity: sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==} peerDependencies: @@ -5320,6 +5347,10 @@ packages: /fast-safe-stringify@2.1.1: resolution: {integrity: sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==} + /fastparse@1.1.2: + resolution: {integrity: sha512-483XLLxTVIwWK3QTrMGRqUfUpoOs/0hbQrl2oz4J0pAcm3A3bu84wxTFqGqkJzewCLdME38xJLJAxBABfQT8sQ==} + dev: true + /fastq@1.16.0: resolution: {integrity: sha512-ifCoaXsDrsdkWTtiNJX5uzHDsrck5TzfKKDcuFFTIrrc/BS076qgEIfoIy1VeZqViznfKiysPYTh/QeHtnIsYA==} dependencies: