Attempt to add basic tasklist
All checks were successful
Build BAB Application Deployment Artifact / build (push) Successful in 2m8s

This commit is contained in:
2024-03-12 22:44:24 -04:00
parent 6ff1a69e2b
commit 0986d04ea6
5 changed files with 95 additions and 94 deletions

View File

@@ -0,0 +1,6 @@
<template>
<div>My component</div>
</template>
<script setup lang="ts">
</script>

View File

@@ -0,0 +1,29 @@
<template>
<div class="q-pa-md" style="max-width: 350px">
<q-list>
<q-item v-for="task in tasks" :key="task.id">
<q-item-section>
<q-item-label>{{ task.title }}</q-item-label>
<q-item-label caption lines="2"
>Secondary line text. Lorem ipsum dolor sit amet, consectetur
adipiscit elit.</q-item-label
>
</q-item-section>
<q-item-section side top>
<q-item-label caption>5 min ago</q-item-label>
<q-icon name="star" color="yellow" />
</q-item-section>
</q-item>
<q-separator spaced inset />
</q-list>
</div>
</template>
<script setup lang="ts">
import { defineProps } from 'vue';
import type { Task } from 'src/stores/task';
const props = defineProps<{ tasks: Task[] }>();
</script>