npm install -g create-react-app
create-react-app my-app
cd my-app/
npm start
使用create-react-app自动构建react项目
最新推荐文章于 2025-03-20 15:51:01 发布
npm install -g create-react-app
create-react-app my-app
cd my-app/
npm start