test for async import.

This commit is contained in:
2023-04-06 19:56:03 +08:00
parent 14c42c6744
commit 007de440d6
3 changed files with 6 additions and 3 deletions

View File

@@ -1,11 +1,12 @@
<script lang="ts" setup>
import { SOURCES } from "utils/constants"
import { Problem } from "utils/types"
import Monaco from "~/shared/Monaco.vue"
import { code } from "oj/composables/code"
import { isDesktop } from "~/shared/composables/breakpoints"
import Form from "./Form.vue"
const Monaco = defineAsyncComponent(() => import("~/shared/Monaco.vue"))
interface Props {
problem: Problem
}