![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
React
react
钢镚是个小屁精
我写了!
展开
-
一、typeScript在react中使用
初始化一个 React/TypeScript 应用程序。运行以下面的命令: npx create-react-app my-app --template typescript 安装typescript yarn add typescript 此时yarn start运行程序会报错找不到react等包 需要安装包的ts版本, npm install @types/react npm install @types/包名 ...原创 2021-10-11 09:44:48 · 94 阅读 · 0 评论 -
react运行build文件
打包build 文件 yarn build 安装serve npm install -g serve 运行build文件 serve -s build原创 2021-10-09 13:38:14 · 607 阅读 · 0 评论 -
代码在线编辑codemirror在React中使用
初次学习codemirror笔记原创 2021-09-29 10:27:11 · 2282 阅读 · 0 评论