    },
        render: function(vnode) {
            return vnode // equivalent to m(Home)
        },
    }
})</code></pre>
<p>RouteResolvers are useful for implementing a variety of advanced routing use cases.</p>
<hr>
<h4 id="wrapping-a-layout-component"><a href="#wrapping-a-layout-component">Wrapping a layout component</a></h4>
<p>It&#39;s often desirable to wrap all or most of the routed components in a reusable shell (often called a &quot;layout&quot;). In order to do that, you first need to create a c