一、脚手架 用来初始化项目 全局安装 npm install -g create-react-app 脚手架为同一个版本 临时安装 npx create-react-app xxxx 脚手架每次为最新版本 初始化项目过程中会安装以下三种,稍微会耗费时间。 JSX = JS + XML