PASSAGGIO A VITE !

AGG. 1.1.23
This commit is contained in:
Surya Paolo
2025-03-01 14:14:43 +01:00
parent f0098e57b2
commit bc960d38a1
1044 changed files with 5323 additions and 10823777 deletions

View File

@@ -10,40 +10,40 @@
</template>
<script lang="ts">
import { defineComponent, ref } from 'vue'
import { Todo, Meta } from '@/components/models'
import ExampleComponent from '../components/CompositionComponent.vue'
import { defineComponent, ref } from "vue";
import type { Todo, Meta } from "@src/components/models";
import ExampleComponent from "../components/CompositionComponent.vue";
export default defineComponent({
name: 'PageIndex',
name: "PageIndex",
components: { ExampleComponent },
setup() {
const todos = ref<Todo[]>([
{
id: 1,
content: 'ct1',
content: "ct1",
},
{
id: 2,
content: 'ct2',
content: "ct2",
},
{
id: 3,
content: 'ct3',
content: "ct3",
},
{
id: 4,
content: 'ct4',
content: "ct4",
},
{
id: 5,
content: 'ct5',
content: "ct5",
},
])
]);
const meta = ref<Meta>({
totalCount: 1200,
})
return { todos, meta }
});
return { todos, meta };
},
})
});
</script>