UNPKG

@tanstack/vue-router

Version:

Modern and scalable routing for Vue applications

15 lines 540 B
import * as Vue from 'vue'; export const Body = Vue.defineComponent({ name: 'Body', setup(_, { slots }) { const isServer = typeof window === 'undefined'; return () => { const children = slots.default?.(); if (isServer) { return Vue.h('body', {}, Vue.h('div', { id: '__app' }, Vue.h('div', { 'data-allow-mismatch': '' }, children))); } return Vue.h('div', { 'data-allow-mismatch': '' }, children); }; }, }); //# sourceMappingURL=Body.jsx.map