perf: faster app without defineAsync

This commit is contained in:
2026-08-02 08:59:13 +02:00
parent fe5c0f94b2
commit f680b04533
7 changed files with 17 additions and 34 deletions
+2 -4
View File
@@ -2,11 +2,9 @@
import { useListStore } from "@/stores/lists";
import { ArrowBigRightDashIcon, DicesIcon, HistoryIcon } from "@lucide/vue";
import { generateSlug } from "random-word-slugs";
import { defineAsyncComponent, onBeforeMount, ref } from "vue";
import { onBeforeMount, ref } from "vue";
import { onBeforeRouteUpdate } from "vue-router";
const RecentItem = defineAsyncComponent(
() => import("@/components/RecentItem.vue"),
);
import RecentItem from "@/components/RecentItem.vue";
const listNameInput = ref<string>(generateSlug(4));