vue3-core/packages/runtime-dom
Daniel Roe e790e1bdd7
build: add production/development export conditions (#9977)
2024-01-04 11:24:17 +08:00
..
__tests__ style: update format & lint config (#9162) 2023-12-26 19:39:47 +08:00
src style: update format & lint config (#9162) 2023-12-26 19:39:47 +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 build: add production/development export conditions (#9977) 2024-01-04 11:24:17 +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')