UNPKG

@tanstack/vue-router

Version:

Modern and scalable routing for Vue applications

17 lines (16 loc) 497 B
import * as Vue from "vue"; //#region src/Body.tsx var 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); }; } }); //#endregion export { Body }; //# sourceMappingURL=Body.js.map