perf: faster app without defineAsync
This commit is contained in:
@@ -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 * * *";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user