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
@@ -1,10 +1,8 @@
<script setup lang="ts">
import { ref, onBeforeMount, watch, defineAsyncComponent } from "vue";
import { ref, onBeforeMount, watch } from "vue";
import { getCron, parseCron, validCron } from "@/lib/recurrence";
import { CronType } from "@/enums";
const DateInput = defineAsyncComponent(
() => import("@/components/DateInput.vue"),
);
import DateInput from "@/components/DateInput.vue";
const DEFAULT_CRON = "0 0 * * *";