bpd-mobile
v0.1.2
Published
bpd-mobile
Downloads
9
Readme
bpd-mobile
bpd-mobile
usage
bpd-mobile是基于 Ant Design mobile 而开发的模板组件集合
- AdRewardModal是搜狐新闻落地页激励视频公共弹窗组件
<AdRewardModal isOpen={awardVisible} content="看视频获得1次提示机会" onClose={onCloseAdsModal} onConfirm={onConfirmAdsModal} />
安装
npm
npm i bpd-mobile --save
yarn
yarn add bpd-mobile
pnpm
pnpm add bpd-mobile
##在项目中使用 例如使用AdRewardModal
import { RolesSelect } from 'bpd-mobile'
Development
# install dependencies
$ pnpm install
# develop library by docs demo
$ pnpm start
# build library source code
$ pnpm run build
# build library source code in watch mode
$ pnpm run build:watch
# build docs
$ pnpm run docs:build
# Locally preview the production build.
$ pnpm run docs:preview
# check your project for potential problems
$ pnpm run doctor
development
调用部署脚本直接部署
$ ./manual_deploy.sh <ssh_private_key>
## LICENSE
MIT