add an example App.vue file

This commit is contained in:
Andreas Zweili 2021-01-25 17:49:25 +01:00
parent d4c2354f9e
commit 725a1ed549
2 changed files with 28 additions and 1 deletions

View File

@ -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>

View File

@ -1,3 +1,4 @@
import { createApp } from "vue";
import App from "./App.vue";
createApp({}).mount("");
createApp(App).mount("#app");