移动开发使用 create-react-app 快速构建 React 开发环境 云博小周宇2024年5月5日2023年8月20日1 Min Read 在终端执行以下命令创建项目: 1、指定创建的项目位置(这里以桌面为例) cd Desktop 2、创建 React 项目 npx create-react-app my-app 3、进入项目并启动 cd my-app npm start 可以直接将项目文件拖入终端,输入 npm start 按回车启动