This commit is contained in:
2021-05-16 12:31:41 +08:00
parent 52138c2f83
commit f6076e0e32
846 changed files with 89 additions and 16811 deletions
+18
View File
@@ -0,0 +1,18 @@
1、安装脚手架工具
create-react-app
2、创建项目
create-react-app myapp
3、暴露webpack配置文件
npm run eject
4、启动项目
npm run start
5、安装本地服务
npm i -g serve
6、启动本地服务
serve -s build