1.下載
npm install -g create-react-app
2.cd 管理項目文件夾下(創(chuàng)建)
create-react-app 項目名
3.cd 項目名 文件夾下(運行)
npm start
結(jié)果:出現(xiàn)網(wǎng)頁頁面
4.vscode打開文件夾(在其中修改)
1.下載
npm install -g create-react-app
2.cd 管理項目文件夾下(創(chuàng)建)
create-react-app 項目名
3.cd 項目名 文件夾下(運行)
npm start
結(jié)果:出現(xiàn)網(wǎng)頁頁面
4.vscode打開文件夾(在其中修改)