2
0
Evan You d866d389f3 chore: fix import path + comment 6 жил өмнө
..
__tests__ c07751fd36 refactor: adjust `createApp` related API signatures 6 жил өмнө
src d866d389f3 chore: fix import path + comment 6 жил өмнө
LICENSE 34989ef7fe chore: license 6 жил өмнө
README.md 1b2878d80f chore: update runtime-dom/README example to latest signature (#693) [ci skip] 6 жил өмнө
api-extractor.json b2d269a651 build: use api-extractor for type rollup 6 жил өмнө
index.js e05673f4d3 refactor: rename packages 7 жил өмнө
jsx.d.ts 54bb820f73 types: update jsx support (#587) 6 жил өмнө
package.json d293876c34 release: v3.0.0-alpha.4 6 жил өмнө

README.md

@vue/runtime-dom

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

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

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