This commit is contained in:
2022-04-10 17:58:05 +08:00
parent 1ad66ae8bd
commit 342a79cb74
1648 changed files with 6 additions and 25 deletions
+22
View File
@@ -0,0 +1,22 @@
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
7、dangerouslySetInnerHTML
8、ReactDom.findDOMNode
9、refs