1、安装nodeJs
2、安装React模块
1 | npm install -g create-react-app |
3、新建一个React项目
1 | npx create-react-app my-react-app //my-react-app为项目名 |
4、启动React项目
1 | npm start |
1、安装nodeJs
2、安装React模块
1 | npm install -g create-react-app |
3、新建一个React项目
1 | npx create-react-app my-react-app //my-react-app为项目名 |
4、启动React项目
1 | npm start |