react
安装与创建项目
-
安装node.js
npm 安装淘宝镜像:
npm install -g cnpm --registry=https://registry.npm.taobao.org
- 安装yarn
npm install -g yarn
- 安装脚手架
npm install -g create-react-app
创建项目
create-react-app 项目名称