68236f5112
The Task API allows for an easy way to create long-lived tasks that require reporting back to user with progress/logs. It will be used in the upcoming game importing.
22 lines
386 B
Vue
22 lines
386 B
Vue
<template>
|
|
<content class="flex flex-col w-full min-h-screen bg-zinc-900">
|
|
<UserHeader />
|
|
<div class="grow flex">
|
|
<NuxtPage />
|
|
{{ test }}
|
|
</div>
|
|
<UserFooter />
|
|
</content>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
useHead({
|
|
titleTemplate(title) {
|
|
if (title) return `${title} | Drop`;
|
|
return `Drop`;
|
|
},
|
|
});
|
|
|
|
const test = useTask("test");
|
|
</script>
|