Files
tape-record/main.js
T
2024-06-19 11:41:14 +02:00

30 lines
570 B
JavaScript

/* exported app */
let app = {
data() {
return {
title: "Vue-Boilerplate",
content:
"Fill this page with <i>whatever</i> you're going to develop.<br><b>Then enjoy!</b>",
};
},
computed: {
currentYear() {
return new Date().getFullYear();
},
},
methods: {
showApp() {
document.getElementById("app").setAttribute("style", "");
},
},
mounted: function () {
console.log("app mounted");
setTimeout(this.showApp);
},
};
window.onload = () => {
app = Vue.createApp(app);
app.mount("#app");
};