@miniu/wxcomponent

0.1.1 • Public • Published

@miniu/wxcomponent

让微信自定义组件在支付宝里运行

使用

  1. 安装依赖
$ npm install @miniu/wxcomponent --save
// or
$ yarn add @miniu/wxcomponent

  1. 在支付宝自定义组件里使用
import WXComponent from '@miniu/wxcomponent'

WXComponent({
  ...微信自定义自己用法
})

支持的功能

  • properties 跟 data 关联
  • properties 里属性侦听 observer
  • behaviors 及嵌套
  • created
  • attached
  • ready
  • detached
  • error
  • triggerEvent
  • 支付宝生态周期兼容

不支持需要手动修改:

  • move
  • relations
  • observers

Readme

Keywords

none

Package Sidebar

Install

npm i @miniu/wxcomponent

Weekly Downloads

0

Version

0.1.1

License

none

Unpacked Size

10.7 kB

Total Files

3

Last publish

Collaborators

  • minicode-group
  • zinkey
  • candy.zheng