LoadingScreen.vue 594 B

1234567891011121314151617181920212223242526272829303132
  1. <!-- Animation circulaire à afficher durant les chargements -->
  2. <template>
  3. <v-overlay
  4. v-model="pageStore.loading"
  5. z-index="9000"
  6. persistent
  7. class="align-center justify-center"
  8. >
  9. <v-progress-circular
  10. indeterminate
  11. size="64"
  12. />
  13. </v-overlay>
  14. </template>
  15. <script setup lang="ts">
  16. import {usePageStore} from "~/stores/page";
  17. const pageStore = usePageStore()
  18. </script>
  19. <style scoped>
  20. .loading-page {
  21. position: fixed;
  22. top: 0;
  23. left: 0;
  24. width: 100%;
  25. height: 100%;
  26. z-index: 1001!important;
  27. }
  28. </style>