vue3-yuanma/packages/runtime-dom
2019-08-30 15:15:23 -04:00
..
src feat: error handling in scheduler 2019-08-30 15:15:23 -04:00
.npmignore refactor: rename packages 2018-10-26 15:44:50 -04:00
index.js refactor: rename packages 2018-10-26 15:44:50 -04:00
jsx.d.ts types: bump TS version + type test for createComponent 2019-05-30 22:09:48 +08:00
package.json build: update runtime-dom global name 2018-10-26 17:51:09 -04:00
README.md refactor: rename packages 2018-10-26 15:44:50 -04:00

@vue/runtime-dom

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

class App extends Component {
  data () {
    return {
      msg: 'Hello World!'
    }
  }
  render () {
    return h('div', this.msg)
  }
}

render(
  h(App),
  document.getElementById('app')
)