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.
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-mixindemo usage
in the
/test/demodirectoryYou can also open the code snippet link in wechat devtools.
