First Committ

This commit is contained in:
Paolo Arena
2021-08-31 18:09:59 +02:00
commit 1d6c55807c
299 changed files with 55382 additions and 0 deletions

49
src/pages/Index.vue Normal file
View File

@@ -0,0 +1,49 @@
<template>
<q-page class="row items-center justify-evenly">
<example-component
title="Example component"
active
:todos="todos"
:meta="meta"
/>
</q-page>
</template>
<script lang="ts">
import { defineComponent, ref } from 'vue'
import { Todo, Meta } from '../components/models'
import ExampleComponent from '../components/CompositionComponent.vue'
export default defineComponent({
name: 'PageIndex',
components: { ExampleComponent },
setup() {
const todos = ref<Todo[]>([
{
id: 1,
content: 'ct1',
},
{
id: 2,
content: 'ct2',
},
{
id: 3,
content: 'ct3',
},
{
id: 4,
content: 'ct4',
},
{
id: 5,
content: 'ct5',
},
])
const meta = ref<Meta>({
totalCount: 1200,
})
return { todos, meta }
},
})
</script>