dashboard
repositories
filestore
activity
search
login
udemy
/
corso-vue
corso vuejs
summary
reflog
commits
tree
docs
forks
compare
blame
|
history
|
raw
lezioni varie ed esercizi
Cristiano Magro
2024-12-26
38b8f3eacc6879bbce88acc406c99ddfcf68ef86
[udemy/corso-vue.git]
/
03 - lists conditional
/
lists-cond-01-starting-setup
/
app.js
1
2
3
4
5
6
7
8
9
10
11
12
const app = Vue.createApp({
data() {
return { goals: [] };
},
methods: {
addGoal() {
this.goals.push(this.enteredGoal)
},
},
});
app.mount("#user-goals");