React 1.搭建环境 :npm install -g create-react-app(时间可能稍长) 2.创建项目名称:npm create-react-app my-app cd my-app npm starts