add an example App.vue file
This commit is contained in:
parent
d4c2354f9e
commit
725a1ed549
|
@ -0,0 +1,26 @@
|
|||
<template>
|
||||
<h2>My Friends</h2>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
friends: [
|
||||
{
|
||||
id: "manuel",
|
||||
name: "Manuel Lorenz",
|
||||
phone: "0123 4567 890",
|
||||
email: "manuel@localhost.com",
|
||||
},
|
||||
{
|
||||
id: "julie",
|
||||
name: "Julie Jones",
|
||||
phone: "9876 5432 210",
|
||||
email: "julie@localhost.com",
|
||||
},
|
||||
],
|
||||
};
|
||||
},
|
||||
};
|
||||
</script>
|
|
@ -1,3 +1,4 @@
|
|||
import { createApp } from "vue";
|
||||
import App from "./App.vue";
|
||||
|
||||
createApp({}).mount("");
|
||||
createApp(App).mount("#app");
|
||||
|
|
Reference in New Issue