Skip to content

dumuzhou/antd-mobile-ui

Repository files navigation

快速上手

文档

antd-mobile-ui 是用 taro3 开发,兼容 rn、h5 和小程序的 ui

安装

$ npm install --save antd-mobile-ui
$ npm install --save antd-mobile-ui-rn
# or
$ yarn add antd-mobile-ui
$ yarn add antd-mobile-ui-rn

配置

编辑 config/index.js h5 下增加配置

esnextModules: ["antd-mobile-ui"],

引入

components/antd-mobile-ui/index.tsx

export { Button, Space } from "antd-mobile-ui";

components/antd-mobile-ui/index.rn.tsx

export { Button, Space } from "antd-mobile-ui-rn";

使用

import { Button, Space } from "components/antd-mobile-ui";

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published