text: // render函数 => 虚拟节点
  
  import { createElement, createTextVnode } from './vnode'
  function renderMixin(Vue) {
    Vue.prototype._c = function () {
      return createElement(...arguments)
    }
    Vue.prototype._s = function (value) {
      if (value == undefined) return
      return typeof value === 'object' ? JSON.stringify(value) : value
    }
    Vue.prototype._v = function (text) {
      return createTextVnode(text)
    }
    Vue.prototype._render = function () {
      const vm = this,
        render = vm.$options.render;
  
      const  vnode = render.call(vm)
      console.log('vnode', vnode)
      return vnode
    }
  }
  
  export { renderMixin }
  