miniprogram-mixin
v1.0.6
Published
As we know, in the miniprogram, `Component` has [`behaviors`](https://developers.weixin.qq.com/miniprogram/dev/framework/custom-component/behaviors.html) to reuse the same logics.But if we want to reuse these logics in `Page`, there is no solution.
Downloads
3
Readme
miniprgram-mixin
As we know, in the miniprogram, Component
has behaviors
to reuse the same logics.But if we want to reuse these logics in Page
, there is no solution.
miniprogram-mixin
works.
install
yarn add miniprogram-mixin
demo usage
in the
/test/demo
directoryYou can also open the code snippet link in wechat devtools.