Session 2

This commit is contained in:
marcgauch committed 2023-01-16 21:57:08 +01:00
1 parent da0c4e925d
commit c335f5a31f
24 files changed
+1678 -51

No files matched your search

+16 -15
View File
@@ -1,18 +1,19 @@
const app = Vue.createApp({
data: () => ({
data() {
return {
text: "hello World",
}),
methods: {
date() {
return new Date().toLocaleDateString();
},
};
},
methods: {
date() {
return new Date().toLocaleDateString();
},
computed: {
shouted() {
return this.text.toUpperCase()
}
}
});
app.mount("#app");
},
computed: {
shouted() {
return this.text.toUpperCase();
},
},
});
app.mount("#app");