vue3-yuanma/packages/runtime-dom
2020-01-25 22:31:38 -05:00
..
__tests__ refactor(createComponent): rename to defineComponent (#549) 2019-12-22 10:58:12 -05:00
src fix(runtime-dom): should not access document in non-browser env 2020-01-25 22:31:38 -05:00
api-extractor.json build: use api-extractor for type rollup 2019-09-03 12:16:22 -04:00
index.js refactor: rename packages 2018-10-26 15:44:50 -04:00
jsx.d.ts types: update jsx support (#587) 2020-01-06 16:19:18 -05:00
LICENSE chore: license 2019-10-28 11:15:17 -04:00
package.json release: v3.0.0-alpha.3 2020-01-22 11:10:30 -05:00
README.md types: improve type exports 2019-09-06 12:58:31 -04:00

@vue/runtime-dom

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

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

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