13 lines
359 B
JavaScript
13 lines
359 B
JavaScript
// Composables
|
|
import { useHydration } from "../../composables/hydration.js"; // Utilities
|
|
import { defineComponent } from "../../util/index.js";
|
|
export const VNoSsr = defineComponent({
|
|
name: 'VNoSsr',
|
|
setup(_, {
|
|
slots
|
|
}) {
|
|
const show = useHydration();
|
|
return () => show.value && slots.default?.();
|
|
}
|
|
});
|
|
//# sourceMappingURL=VNoSsr.js.map
|