0👍
you should put your food names in an array and access it with foodName[i]
- [Vuejs]-Reuse existing tab in VueJS for routing to child and grandchild routes with Vue Router
- [Vuejs]-Vue computed property do not send data to template
0👍
You can access object property names dynamically using brackets:
this["foodName"+i] = "";
- [Vuejs]-Control Vue component from nested layout using Inertia JS
- [Vuejs]-How to get information like firstname from Azure AD and use it in .net core?
Source:stackexchange.com