<template> <BaseLayout> <div class="pb-6"> <BaseContainer> <div class=" w-full py-3">…
- User
<BaseLayout> <div class="pb-6"> <BaseContainer> <div class=" w-full py-3"> <div class="aspect-[1.376] h-10 bg-mid_gray mb-2 m-auto">Logo</div> </div> <h1 class="text-sm text-secondary font-bold my-2 text-center w-full">Trust. Verify. Succeed</h1> <div class="my-8 grid grid-cols-3 lg:py-10 lg:px-40"> <ProcessItem label="Job Request" /> <ProcessItem label="Verification of Basic Information" /> <ProcessItem label="Review and Report Writing" /> </div> <div class="flex justify-center"> <router-link to ="/steps"> <Button type="submit" :class="['bg-secondary hover:bg-secondary_hover px-4 py-2 text-white']" > Test<span class="mx-2">-></span> </Button> </router-link> <Button @click="showDocumentName" type="submit" :class="['bg-secondary hover:bg-secondary_hover px-4 py-2 text-white']" > Fill the Form Now<span class="mx-2">-></span> </Button> </div> <!-- <div class="gap-3 w-full flex flex-col justify-center items-center"> <span class="text-primary font-bold text-lg block" >Thanks for your information</span> <span class="text-sm font-medium block" >Thanks for your information</span> <span class="text-xs font-medium block" >Your order ID: GA-06564-gh71</span> <Button class="w-fit" type="submit" ><i class="inline-block w-4 h-4 rounded-full bg-mid_gray" /> Rate</Button> </div> --> </BaseContainer> </div> <!-- <JobRequest /> <Review /> <Verification /> --> <Contact :location="location"/> </BaseLayout> <!-- <button class="fixed z-30 bottom-0 bg-red-700 rounded-xl text-white p-2 " @click="triggerAlert('Your Contact details has been saved!')">زر تجربة الالرت</button> --><!-- <div class=" fixed z-10 bottom-0 py-6 px-4 flex flex-col gap-2"> <div v-for="(alert, index) in alerts" :key="index"> <SnackBar :message="alert.message" @close="removeAlert(index)" /> </div> <div v-for="(alert, index) in alerts" :key="index"> <SnackBar :isDanger="true" :message="alert.message" @close="removeAlert(index)" /> </div> </div> --> <Cookies /> - Assistant
- User
home.vue:71 Uncaught (in promise) ReferenceError: ref is not defined at setup (home.vue:71:22) at callWithErrorHandling (chunk-4G2AIOYC.js?v=0573fe2c:2152:19) at setupStatefulComponent (chunk-4G2AIOYC.js?v=0573fe2c:8408:25) at setupComponent (chunk-4G2AIOYC.js?v=0573fe2c:8371:36) at mountComponent (chunk-4G2AIOYC.js?v=0573fe2c:6292:7) at processComponent (chunk-4G2AIOYC.js?v=0573fe2c:6270:9) at patch (chunk-4G2AIOYC.js?v=0573fe2c:5985:11) at ReactiveEffect.componentUpdateFn [as fn] (chunk-4G2AIOYC.js?v=0573fe2c:6452:9) at ReactiveEffect.run (chunk-4G2AIOYC.js?v=0573fe2c:457:19) at ReactiveEffect.runIfDirty (chunk-4G2AIOYC.js?v=0573fe2c:490:12)
- Assistant
The error you're encountering,
Uncaught (in promise) ReferenceError: ref is not defined, indicates that thereffunction is being referenced in yoursetupfunction but isn't imported correctly. In Vue 3,refis part of the Composition API and needs to be imported fromvue.To fix the error, you need to add an import for
refat the top of your section. Here’s how you can correct it: - User
- Assistant