How to use the ssrUtils function from vue

Find comprehensive JavaScript vue.ssrUtils code examples handpicked from public code repositorys.

325
326
327
328
329
330
331
332
333
334
335
    };
    const fakeRequire = (id) => requireMap[id];
    return (compileCache[cacheKey] = Function('require', code)(fakeRequire));
}


const { createComponentInstance, setCurrentRenderingInstance, setupComponent, renderComponentRoot, normalizeVNode } = Vue.ssrUtils;
// Each component has a buffer array.
// A buffer array can contain one of the following:
// - plain string
// - A resolved buffer (recursive arrays of strings that can be unrolled
fork icon0
star icon0
watch icon1

+ 50 other calls in file