UNPKG

gridsome

Version:

A JAMstack framework for building blazing fast websites with Vue.js

15 lines (13 loc) 251 B
// @vue/component export default { functional: true, render (h, { parent, children }) { if (parent._isMounted) { return children } else { parent.$once('hook:mounted', () => { parent.$forceUpdate() }) } } }