Session 2
This commit is contained in:
1 parent
da0c4e925d
commit
c335f5a31f
24 files changed
+1678
-51
No files matched your search
@@ -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");
|
||||
Reference in new issue
Block a user