在react中使用antd-mobile

首先打開antd-mobile的官方文檔 在項目中安裝antd-mobile 使用 npm install antd-mobile yarn add antd-mobile   在項目中App.js文件中導入要使用的組件 import {Button} from 'antd-mobile' 使用組件直接在組件中進行使用便可 import { Button } from 'antd-mobile
相關文章
相關標籤/搜索