[Vuejs]-Possible to put component in array and render them?

0๐Ÿ‘

โœ…

I just changed the createTodo function to this

createTodoItem() {
      const todoItem = Vue.extend(TodoItem);
      const todoItemInstance = new todoItem();
      todoItemInstance.id = this.newItemId;
      todoItemInstance.title = this.todoItem;
      this.newItemId += 1;
      return todoItemInstance;
    },

Leave a comment