合集-React
摘要:问题 在编写 React 代码时,如果你希望多次更新状态,可能会尝试使用 handleClickWrong 中的方式。然而,你会发现实际效果并不如预期:count 只增加了 1,而不是 3。 const root = document.getElementById('root'); const Ap
阅读全文
摘要:1. 安装tailwindcss npm install -D tailwindcss postcss autoprefixer 2. 生成tailwindcss 配置文件 npx tailwind init -p 3. tailwind.config.js 配置 /** @type {import
阅读全文

浙公网安备 33010602011771号