Evan You 48152bc88e fix(runtime-dom): should not access document in non-browser env преди 6 години
..
__tests__ 1c4cdd841d refactor(createComponent): rename to defineComponent (#549) преди 6 години
src 48152bc88e fix(runtime-dom): should not access document in non-browser env преди 6 години
LICENSE 34989ef7fe chore: license преди 6 години
README.md 360f3b4f37 types: improve type exports преди 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 b41677bf42 release: v3.0.0-alpha.3 преди 6 години

README.md

@vue/runtime-dom

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

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

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