2👍
✅
Yes, you can reference the props in the data function.
data(){
return {
newMessage: this.message.text
}
}
👤Bert
Source:stackexchange.com
2👍
Yes, you can reference the props in the data function.
data(){
return {
newMessage: this.message.text
}
}