Tracking de l'application VApp (IHM du jeu)
This commit is contained in:
20
VApp/node_modules/vuetify/lib/composables/ssrBoot.mjs
generated
vendored
Normal file
20
VApp/node_modules/vuetify/lib/composables/ssrBoot.mjs
generated
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
// Utilities
|
||||
import { computed, onMounted, readonly, shallowRef } from 'vue';
|
||||
|
||||
// Composables
|
||||
export function useSsrBoot() {
|
||||
const isBooted = shallowRef(false);
|
||||
onMounted(() => {
|
||||
window.requestAnimationFrame(() => {
|
||||
isBooted.value = true;
|
||||
});
|
||||
});
|
||||
const ssrBootStyles = computed(() => !isBooted.value ? {
|
||||
transition: 'none !important'
|
||||
} : undefined);
|
||||
return {
|
||||
ssrBootStyles,
|
||||
isBooted: readonly(isBooted)
|
||||
};
|
||||
}
|
||||
//# sourceMappingURL=ssrBoot.mjs.map
|
Reference in New Issue
Block a user