随笔分类 -  React

摘要:1. 在react项目中下载安装antd依赖包 npm i --save antd 2. 在index.css顶部引入antd样式(antd文档里说的是在app.css顶部引入样式,不知道为啥我试了样式不生效) @import '~antd/dist/antd.css'; 3. 在项目中引入我们想要 阅读全文
posted @ 2022-04-01 10:53 抽风的皮鞭 阅读(1340) 评论(0) 推荐(0)