2019-12-10 22:14:02 -05:00
..
2019-10-17 15:01:51 -04:00
2018-10-26 15:44:50 -04:00
2019-10-28 11:15:17 -04:00
2019-12-10 22:14:02 -05:00

@vue/runtime-test

import { h, render, nodeOps, dumpOps } from '@vue/runtime-test'

const App = {
  data () {
    return {
      msg: 'Hello World!'
    }
  }
  render () {
    return h('div', this.msg)
  }
}

// root is of type `TestElement` as defined in src/nodeOps.ts
const root = nodeOps.createElement('div')
render(h(App), root)

const ops = dumpOps()
console.log(ops)