src/views/Catalog.vue
@@ -40,9 +40,10 @@ }, methods: { newTodoAdded(e) { console.info("INFO - ", e); } this.$store.dispatch('setNewTodo','some random strings or whatever') this.$store.dispatch('addTodo') this.$store.dispatch('clearNewTodo') }, } }; </script>