creating the controller/view/api base

This commit is contained in:
SimonGschnell
2023-11-14 11:52:45 +01:00
parent 8e3939a885
commit 5b385d376e
7 changed files with 165 additions and 1 deletions
+27
View File
@@ -0,0 +1,27 @@
export default {
data: function() {
return {
person: null,
}
},
methods: {
testsearch: function() {
}
},
created(){
this.$parent.testsearch().then((res) => {
this.person = res.data;
});
},
template: `
<div>
<h1>test</h1>
<code>{{JSON.stringify(person)}}</code>
</div>
`,
};