Cristiano Magro
2024-12-26 f8f722e8a2b63220907736782e547c5a06d88988
commit | author | age
38b8f3 1 const app = Vue.createApp({
CM 2   data() {
f8f722 3     return { 
CM 4       goals: [],
5       enteredGoal: '',
6      };
7
38b8f3 8   },
CM 9   methods: {
10     addGoal() {
11       this.goals.push(this.enteredGoal)
12     },
13   },
14 });
15
16 app.mount("#user-goals");