export function renderMixin(Vue) {
Vue.prototype._c = function (tag, data, ...children) {
//createElement
return createElement(this, ...arguments);
console.log(tag, data, ...children);
};
Vue.prototype._v = function (text) {
//createTextElement
return createTextElement(this, text);
console.log(text);
};
Vue.prototype._s = function (val) {
//stringify
return JSON.stringify(val);
};
Vue.prototype._render = function () {
const vm = this;
let render = vm.$options.render;
let vnode = render.call(vm);
console.log("render");
};
}