commit | author | age
|
2eca01
|
1 |
<template> |
CM |
2 |
<section> |
|
3 |
<h2>My Friends</h2> |
|
4 |
<ul> |
|
5 |
<friend-contact></friend-contact> |
|
6 |
<friend-contact></friend-contact> |
|
7 |
</ul> |
|
8 |
</section> |
|
9 |
</template> |
|
10 |
|
|
11 |
<script> |
|
12 |
export default { |
|
13 |
data() { |
|
14 |
return { |
|
15 |
friends: [ |
|
16 |
{ |
|
17 |
id: "manuel", |
|
18 |
name: "Manuel Lorenz", |
|
19 |
phone: "0123 45678 90", |
|
20 |
email: "manuel@localhost.com", |
|
21 |
}, |
|
22 |
{ |
|
23 |
id: "julie", |
|
24 |
name: "Julie Jones", |
|
25 |
phone: "0987 654421 21", |
|
26 |
email: "julie@localhost.com", |
|
27 |
}, |
|
28 |
], |
|
29 |
}; |
|
30 |
}, |
|
31 |
}; |
|
32 |
</script> |