dcloudio / nml

https://dcloudio.github.io/nml/
278 stars 34 forks source link

建议出个组件引入,全局数据方法调用的demo #20

Closed zhouyujian closed 6 years ago

zhouyujian commented 6 years ago

组件式开发是个特色,但是现在对$dispatch,$broadcast,$emit,$emitElement的用法不熟悉,自己爬坑测试太艰难了。

所以希望有个简易demo,能涉及到上面所说的写法。给个参考