VNoSsr.mjs 387 B

1234567891011121314
  1. // Composables
  2. import { useHydration } from "../../composables/hydration.mjs"; // Utilities
  3. import { defineComponent } from "../../util/index.mjs";
  4. export const VNoSsr = defineComponent({
  5. name: 'VNoSsr',
  6. setup(_, _ref) {
  7. let {
  8. slots
  9. } = _ref;
  10. const show = useHydration();
  11. return () => show.value && slots.default?.();
  12. }
  13. });
  14. //# sourceMappingURL=VNoSsr.mjs.map