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