taor-shooting
v0.0.1
Published
shooting
Downloads
3
Readme
shooting
简介
使用Taro封装飞翔鸟插件,在taro项目中使用此插件,可进行飞翔鸟。
本地测试
cd shooting
npm install
[sudo] npm link
会生成npm包 /usr/local/lib/node_modules/@aimcheap/shooting
cd example
npm install
npm link @aimcheap/shooting
生产使用
- 安装插件
yarn add @aimcheap/shooting
- 引入插件
import WidgetShooting from '@aimcheap/shooting'
- taro页面添加标签
<WidgetShooting api='your-server-api' phoneNumber='手机号' userInfo={用户信息}/>
api: String类型
phoneNumber: String类型
userInfo: Object类型