vue3-core/packages/runtime-dom
Evan You 5a41231352 chore: fix formatting + remove duplicated property in jsx type 2023-11-10 15:01:05 +08:00
..
__tests__ fix(v-model): avoid overwriting number input with same value (#7004) 2023-11-09 15:14:38 +08:00
src chore: fix formatting + remove duplicated property in jsx type 2023-11-10 15:01:05 +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
package.json release: v3.3.8 2023-11-06 18:54:26 +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')