fix(build): change ETACard to standard import to fix Vercel ENOENT
This commit is contained in:
@ -1,5 +1,5 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { onMounted, ref, watch, nextTick, onUnmounted, shallowRef, markRaw, defineAsyncComponent } from "vue";
|
import { onMounted, ref, watch, nextTick, onUnmounted, shallowRef, markRaw } from "vue";
|
||||||
import { useRouter } from "vue-router";
|
import { useRouter } from "vue-router";
|
||||||
import { useI18n } from "vue-i18n";
|
import { useI18n } from "vue-i18n";
|
||||||
import { useRouteStore } from "@/stores/route";
|
import { useRouteStore } from "@/stores/route";
|
||||||
@ -21,7 +21,7 @@ import SearchOverlay from "@/components/map/SearchOverlay.vue";
|
|||||||
import PromoCarousel from "@/components/map/PromoCarousel.vue";
|
import PromoCarousel from "@/components/map/PromoCarousel.vue";
|
||||||
import ArrivalBanner from "@/components/map/ArrivalBanner.vue";
|
import ArrivalBanner from "@/components/map/ArrivalBanner.vue";
|
||||||
|
|
||||||
const ETACard = defineAsyncComponent(() => import("@/components/map/ETACard.vue"));
|
import ETACard from "@/components/map/ETACard.vue";
|
||||||
import type { BusStop } from '@/types'
|
import type { BusStop } from '@/types'
|
||||||
|
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
|
|||||||
Reference in New Issue
Block a user