element-plus/website/bus.js
zazzaz f12000f9c2
feat: add website (#135)
* feat: add website

* chore: fix
2020-08-13 15:18:26 +08:00

7 lines
151 B
JavaScript

import mitt from 'mitt'
const emitter = mitt()
emitter.$off = emitter.off
emitter.$on = emitter.on
emitter.$emit = emitter.emit
export default emitter