From ac100de8d8e0fc85e34cde9aec6262259b12f96c Mon Sep 17 00:00:00 2001 From: Cristiano Magro <cristiano.magro@vola.it> Date: Mon, 30 Dec 2024 21:53:48 +0100 Subject: [PATCH] style scoped locali --- 07 - development setup/vue-cli-02-adding-a-component/src/App.vue | 32 ++++++++++++++++++++++++++++++++ 1 files changed, 32 insertions(+), 0 deletions(-) diff --git a/07 - development setup/vue-cli-02-adding-a-component/src/App.vue b/07 - development setup/vue-cli-02-adding-a-component/src/App.vue new file mode 100644 index 0000000..71d3c44 --- /dev/null +++ b/07 - development setup/vue-cli-02-adding-a-component/src/App.vue @@ -0,0 +1,32 @@ +<template> + <section> + <h2>My Friends</h2> + <ul> + <friend-contact></friend-contact> + <friend-contact></friend-contact> + </ul> + </section> +</template> + +<script> +export default { + data() { + return { + friends: [ + { + id: "manuel", + name: "Manuel Lorenz", + phone: "0123 45678 90", + email: "manuel@localhost.com", + }, + { + id: "julie", + name: "Julie Jones", + phone: "0987 654421 21", + email: "julie@localhost.com", + }, + ], + }; + }, +}; +</script> \ No newline at end of file -- Gitblit v1.8.0