/* exported app */ let app = { data() { return { title: "Vue-Boilerplate", content: "Fill this page with whatever you're going to develop.
Then enjoy!", }; }, 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"); };