vue3-core/packages/runtime-dom
Evan You 681ac7c896 release: v3.3.0-alpha.9 2023-04-08 13:33:46 +08:00
..
__tests__ workflow: disable threads during tests 2023-02-02 22:08:37 +08:00
src fix(types): retain type parameters order for public types 2023-04-05 22:30:50 +08:00
LICENSE chore: license 2019-10-28 11:15:17 -04:00
README.md chore: update runtime-dom/README example to latest signature (#693) [ci skip] 2020-02-04 09:24:29 -05:00
index.js refactor: rename packages 2018-10-26 15:44:50 -04:00
package.json release: v3.3.0-alpha.9 2023-04-08 13:33:46 +08:00

README.md

@vue/runtime-dom

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

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

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