react-基础知识

116 阅读1分钟

项目创建

安装create-react-app

npm install -g create-react-app

使用create-react-app命令来创建项目

create-react-app <项目名>