![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
react
文章平均质量分 87
Are杨
这个作者很懒,什么都没留下…
展开
-
React项目中应用TypeScript
前言 单独的使用typescript 并不会导致学习成本很高,但是绝大部分前端开发者的项目都是依赖于框架的 例如和vue、react 这些框架结合使用的时候,会有一定的门槛 使用 TypeScript 编写 react 代码,除了需要 typescript 这个库之外,还需要安装@types/react、@types/react-dom单独的使用typescript 并不会导致学习成本很高,但是绝大部分前端开发者的项目都是依赖于框架的 例如和vue、react 这些框架结合使用的时候,会有一定的门槛 使用转载 2021-09-15 14:57:18 · 1043 阅读 · 0 评论 -
在 create-react-app 中使用antd-mobile
安装和初始化 $ npm install -g create-react-app $ create-react-app my-app $ npm install antd-mobile --save $ cd my-app $ npm start <!DOCTYPE html> <html> <head> <!-- set `maximum-scale` for some compatibility issues --> <meta name="原创 2020-12-23 09:45:16 · 415 阅读 · 0 评论