software-development-2022-e.../templates/without-npm/app.js

18 lines
303 B
JavaScript
Raw Normal View History

2023-01-12 19:31:06 +01:00
const app = Vue.createApp({
data: () => ({
text: "hello World",
}),
methods: {
date() {
return new Date().toLocaleDateString();
},
},
computed: {
shouted() {
return this.text.toUpperCase()
}
}
});
app.mount("#app");