地址
实践
-
安装最新版node.js
-
在项目文件夹中运行 cmd 命令
npx create-react-app my-app
创建项目
cd my-app
进入创建的项目
cd src
进入项目中带文件
cd del *
删除全部 -
在src下创建
index.css
body { font: 14px "Century Gothic", Futura, sans-serif; margin: 20px; } ol, ul { padding-left: 30px; } .board-row:after { clear: both; content: ""; display: table; } .status { margin-bottom: 10px; } .square { background: