blob: 178da4c7de6373a830d26e72c2dce8c98b923e1b [file] [log] [blame]
import weex from '../../../html5/render/vue'
import components from '../../../html5/render/vue/components'
import modules from '../../../html5/render/vue/modules'
const preInit = weex.init
weex.init = function () {
preInit.apply(weex, arguments)
const plugins = components.concat(modules)
plugins.forEach(function (plugin) {
weex.install(plugin)
})
}
if (global.Vue) {
weex.init(global.Vue)
}
export default weex