mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-15 09:50:58 +08:00
f12000f9c2
* feat: add website * chore: fix
7 lines
151 B
JavaScript
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
|