diff --git a/package.json b/package.json index 35bb39e..8963586 100644 --- a/package.json +++ b/package.json @@ -21,10 +21,12 @@ }, "devDependencies": { "@tailwindcss/postcss": "^4.1.11", + "@tailwindcss/vite": "^4.1.11", "@tauri-apps/cli": "^2.6.2", "@types/debug": "^4.1.12", "@types/node": "^24.0.7", "autoprefixer": "^10.4.21", + "daisyui": "^5.0.43", "postcss": "^8.5.6", "tailwindcss": "^4.1.11", "typescript": "^4.9.5", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 66cdb27..5ec6eee 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -33,6 +33,9 @@ importers: '@tailwindcss/postcss': specifier: ^4.1.11 version: 4.1.11 + '@tailwindcss/vite': + specifier: ^4.1.11 + version: 4.1.11(vite@6.3.5(@types/node@24.0.7)(jiti@2.4.2)(lightningcss@1.30.1)(yaml@2.8.0)) '@tauri-apps/cli': specifier: ^2.6.2 version: 2.6.2 @@ -45,6 +48,9 @@ importers: autoprefixer: specifier: ^10.4.21 version: 10.4.21(postcss@8.5.6) + daisyui: + specifier: ^5.0.43 + version: 5.0.43 postcss: specifier: ^8.5.6 version: 8.5.6 @@ -511,6 +517,11 @@ packages: '@tailwindcss/postcss@4.1.11': resolution: {integrity: sha512-q/EAIIpF6WpLhKEuQSEVMZNMIY8KhWoAemZ9eylNAih9jxMGAYPPWBn3I9QL/2jZ+e7OEz/tZkX5HwbBR4HohA==} + '@tailwindcss/vite@4.1.11': + resolution: {integrity: sha512-RHYhrR3hku0MJFRV+fN2gNbDNEh3dwKvY8XJvTxCSXeMOsCRSr+uKvDWQcbizrHgjML6ZmTE5OwMrl5wKcujCw==} + peerDependencies: + vite: ^5.2.0 || ^6 || ^7 + '@tauri-apps/api@2.6.0': resolution: {integrity: sha512-hRNcdercfgpzgFrMXWwNDBN0B7vNzOzRepy6ZAmhxi5mDLVPNrTpo9MGg2tN/F7JRugj4d2aF7E1rtPXAHaetg==} @@ -644,6 +655,9 @@ packages: csstype@3.1.3: resolution: {integrity: sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==} + daisyui@5.0.43: + resolution: {integrity: sha512-2pshHJ73vetSpsbAyaOncGnNYL0mwvgseS1EWy1I9Qpw8D11OuBoDNIWrPIME4UFcq2xuff3A9x+eXbuFR9fUQ==} + debug@4.4.1: resolution: {integrity: sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==} engines: {node: '>=6.0'} @@ -1344,6 +1358,13 @@ snapshots: postcss: 8.5.6 tailwindcss: 4.1.11 + '@tailwindcss/vite@4.1.11(vite@6.3.5(@types/node@24.0.7)(jiti@2.4.2)(lightningcss@1.30.1)(yaml@2.8.0))': + dependencies: + '@tailwindcss/node': 4.1.11 + '@tailwindcss/oxide': 4.1.11 + tailwindcss: 4.1.11 + vite: 6.3.5(@types/node@24.0.7)(jiti@2.4.2)(lightningcss@1.30.1)(yaml@2.8.0) + '@tauri-apps/api@2.6.0': {} '@tauri-apps/cli-darwin-arm64@2.6.2': @@ -1466,6 +1487,8 @@ snapshots: csstype@3.1.3: {} + daisyui@5.0.43: {} + debug@4.4.1: dependencies: ms: 2.1.3 diff --git a/postcss.config.js b/postcss.config.js index 668a5b9..90d9fff 100644 --- a/postcss.config.js +++ b/postcss.config.js @@ -1,6 +1,5 @@ module.exports = { plugins: { - '@tailwindcss/postcss': {}, autoprefixer: {}, }, } diff --git a/src/App.tsx b/src/App.tsx index 94219b7..8f23609 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -21,19 +21,47 @@ function App() { }); return ( -
请检查显示器连接状态
+请检查设备连接状态
+{localProps.display.id}
- {localProps.display.id}
+