perf: faster app without defineAsync
This commit is contained in:
@@ -4,15 +4,12 @@ import {
|
||||
ref,
|
||||
watch,
|
||||
computed,
|
||||
defineAsyncComponent,
|
||||
nextTick,
|
||||
} from "vue";
|
||||
import type { Task } from "@/types";
|
||||
import { CopyIcon, TrashIcon, SaveIcon, XIcon } from "@lucide/vue";
|
||||
import { updateTask } from "@/api/tasks";
|
||||
const CronInput = defineAsyncComponent(
|
||||
() => import("@/components/CronInput.vue"),
|
||||
);
|
||||
import CronInput from "@/components/CronInput.vue";
|
||||
import {
|
||||
isTemporary,
|
||||
taskCompleted,
|
||||
|
||||
Reference in New Issue
Block a user