vue3-yuanma/packages/runtime-dom
2018-09-19 11:35:38 -04:00
..
src init (graduate from prototype) 2018-09-19 11:35:38 -04:00
.npmignore init (graduate from prototype) 2018-09-19 11:35:38 -04:00
index.js init (graduate from prototype) 2018-09-19 11:35:38 -04:00
package.json init (graduate from prototype) 2018-09-19 11:35:38 -04:00
README.md init (graduate from prototype) 2018-09-19 11:35:38 -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')
)