在网页中使用React
2020-06-08 本文已影响0人
池瑶瑶
1.下载
npm install -g create-react-app
2.cd 管理项目文件夹下(创建)
create-react-app 项目名
3.cd 项目名 文件夹下(运行)
npm start
结果:出现网页页面
4.vscode打开文件夹(在其中修改)
1.下载
npm install -g create-react-app
2.cd 管理项目文件夹下(创建)
create-react-app 项目名
3.cd 项目名 文件夹下(运行)
npm start
结果:出现网页页面
4.vscode打开文件夹(在其中修改)