<template>
  <div class="pageLoad preLoader" v-if="loading">
    <div class="relativePos">
      <div class="txtBox">
        <div class="relativePos">
          <p>درحال بارگزاری</p>
          <div class="anim"></div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      // when default is false preLoader is disabled
      loading: true
    }
  },
  mounted() {
    setTimeout(() => this.loading = false, 300)
  }
}
</script>
