dashboard
repositories
filestore
activity
search
login
udemy
/
corso-vue
corso vuejs
summary
reflog
commits
tree
docs
forks
compare
blame
|
history
|
raw
03 le lezioni di questa sezione
Cristiano Magro
2024-12-26
44695d9b6c871bad2366e3fde89969c862341296
[udemy/corso-vue.git]
/
03 - lists conditional
/
lists-cond-03-rendering-lists-of-data
/
app.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
const app = Vue.createApp({
data() {
return {
enteredGoalValue: '',
goals: []
};
},
methods: {
addGoal() {
this.goals.push(this.enteredGoalValue);
}
}
});
app.mount('#user-goals');