Evan You 4a3237ad93 refactor: use Event constructor
close #5723

Since we no longer support IE11, it is safe to use Event() constructor
2022-04-16 11:26:00 +08:00
..
2022-04-16 11:26:00 +08:00
2018-10-26 15:44:50 -04:00
2019-10-28 11:15:17 -04:00
2022-04-14 18:14:37 +08:00

@vue/runtime-dom

import { h, createApp } from '@vue/runtime-dom'

const RootComponent = {
  render() {
    return h('div', 'hello world')
  }
}

createApp(RootComponent).mount('#app')