Vue.js Pass just created data from child to parent component
I have a Vue.js/Laravel application in which i am struggling with a simple task. I have a child component called Create, which creates a new item into the DB and supposedly should emit this new created data to a parent component, so that i would include this new created data into a array on the parent component called jobs. That doesnt actually work and i have to refresh the page in order to see that on the parent component. Can anyone help me on that? This is my child component Create.vue <template> <div class="modal-backdrop"> <div class="modal"> <header class="modal-header"> <slot name="hea
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.