UNPKG

vuetify

Version:

Vue Material Component Framework

20 lines (19 loc) 477 B
// Utilities import { onMounted, readonly, shallowRef, toRef } from 'vue'; // Composables export function useSsrBoot() { const isBooted = shallowRef(false); onMounted(() => { window.requestAnimationFrame(() => { isBooted.value = true; }); }); const ssrBootStyles = toRef(() => !isBooted.value ? { transition: 'none !important' } : undefined); return { ssrBootStyles, isBooted: readonly(isBooted) }; } //# sourceMappingURL=ssrBoot.js.map