在现有项目中使用 mui-event 时,可以通过 npm
进行安装:
npm i mui-event
// 全局引用
import Vue from 'vue'
import muiEvent from 'mui-event'
import 'mui-event/lib/index/index.css'
Vue.use(muiEvent)
// 按需加载
import Vue from 'vue'
import { mxLaunchApp } from 'mui-event'
import 'mui-event/lib/mxLaunchApp/index.css'
Vue.use(mxLaunchApp)
[ mxLaunchApp, mxSignature, mxImageResizer, mxTable, mxAddressPicker ]