vue3-yuanma/packages/runtime-dom
2019-01-22 16:03:37 -05:00
..
src refactor: drop event delegation and use simple async edge case fix 2019-01-22 16:03:37 -05: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 refactor: rename packages 2018-10-26 15:44:50 -04: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')
)