mirror of https://github.com/veypi/OneAuth.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
670 B
Vue
43 lines
670 B
Vue
|
2 years ago
|
<template>
|
||
|
|
<q-page class="row items-center justify-evenly">
|
||
|
|
<example-component
|
||
|
|
title="Example component"
|
||
|
|
active
|
||
|
|
:todos="todos"
|
||
|
|
:meta="meta"
|
||
|
|
></example-component>
|
||
|
|
</q-page>
|
||
|
|
</template>
|
||
|
|
|
||
|
|
<script setup lang="ts">
|
||
|
|
import { Todo, Meta } from 'components/models';
|
||
|
|
import ExampleComponent from 'components/ExampleComponent.vue';
|
||
|
|
import { ref } from 'vue';
|
||
|
|
|
||
|
|
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
|
||
|
|
});
|
||
|
|
</script>
|