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
+1 -4
View File
@@ -1,9 +1,6 @@
<script setup lang="ts">
import { useAlertStore } from "@/stores/alerts";
import { defineAsyncComponent } from "vue";
const AlertItem = defineAsyncComponent(
() => import("@/components/AlertItem.vue"),
);
import AlertItem from "@/components/AlertItem.vue";
const { alerts } = useAlertStore();
</script>