Hi Erik ! I am new in Vue js, and your tutorial is very helpful ! Thanks
@ProgramWithErik4 жыл бұрын
Glad it helped
@kimhakkol71993 жыл бұрын
Yes, my mind was blown while watching the video! Thank you so much! :)
@matthewbeardsley70044 жыл бұрын
Thanks for the overview Erik, I kinda wish there weren't so many ways, so that it is easier to follow convention
@ProgramWithErik4 жыл бұрын
Yeah, you are right. Just pick the easiest way for you
@Y2hlc3Rlcg4 жыл бұрын
more of this Erik. this is very helpful! developer from Philippines.
@wind8x13 жыл бұрын
This is the best formula of passing data in different ways.
@rabbyhossain61504 жыл бұрын
With "vuex " I faced two problems : 1. Mutating state property directly and 2. while refreshing the page "vuex" state backs to its initial state. It will be great if you clear those concepts or show best practices.
Kostia Bazrov-WORK thats a good one , I was going to show how you can make an observable object using Vues observable , but I ran out of time. That could work to with inject
@Delere5674 жыл бұрын
hey tutorial was great but i have a api data and using it in a vue page ok and now i passing a part of it to vomponent and it work nicely but when i refreshing the page it wont send the data again can you guide me to make it to pass data even after page refreshing please?
@rajikkali3 жыл бұрын
$parent is golden. I've built a ton of Vue apps and never knew about that one.
@christopher75404 жыл бұрын
such a great video. thank you erik .please make a video about how we can use vue with express and mongodb. i know it is very easy to use firebase for database with vue but mongo with vue is a little bit confusing for begginers like me. thank you in advance
@ProgramWithErik4 жыл бұрын
OK!
@timtitus78614 жыл бұрын
Excellent tutorial buddy! Really enjoyed this
@blokche_dev4 жыл бұрын
Vuex may appear a bit cumbersome in some situtations. Event bus also may be a nice way to pass data across different components (with or without relations).
@ProgramWithErik4 жыл бұрын
blokche_dev that’s another good one !
@dcernach4 жыл бұрын
I couldn't agree more, just check this out: austincooper.dev/2019/08/09/vue-observable-state-store/
@scryptum3 жыл бұрын
Could you make some videos about Vuex persistent Data and Cookies?
@osmelguarepo65233 жыл бұрын
use cases of using refs and prototype?
@opereznet4 жыл бұрын
Hi Erik, I have a Nuxt-Vuetify app which only has the default and index layouts. I'm trying $refs method to make changes on default.vue. If I add a {{ message }} on default's toolbar (v-app-bar and v-toolbar-tile) and change it from index.vue works perfect but didn't work on default's footer (v-footer v-row v-col), can you help me out? By the way, I really learn from your videos, you have high level of knowledge and know how to explain. Thanks.
@yongpinbong4413 жыл бұрын
Nuxt: What if the parent component is the default.vue from the layouts folder, would you still be able to send data from the default.vue to your components from either the page's folder or component's folder?
@onnot7014 жыл бұрын
thx very informative video
@alexeypochivalin76924 жыл бұрын
Hi, thanks for video. But example with Vue.prototype don't work for me. In conole.log i have a vue is function and "Vue is a constructor and should be called with the `new` keyword". Can you help me, what could be the error ?
@vibonacci4 жыл бұрын
props + this.$parent is the fastest one for direct child / father exchange
@Same7ashY4 жыл бұрын
Right, but "this.$parent" is considered a bad practice, I think. Plus you're technically not "passing" the data, instead you're reaching out for the parent and getting that data.
@nitinnanda18654 жыл бұрын
do you have the git project where you have NOT made these changes already? I want to follow along the video but git project already has the changes so it makes no sense.
@hai64604 жыл бұрын
anyone knows how to pass data between two components that aren't related. Thanks
@ProgramWithErik4 жыл бұрын
Then you'll need to use something like vuex
@hai64604 жыл бұрын
@@ProgramWithErik Yeah thank you, i also found out i could use something called 'Bus event' it did pretty good job
@raihan.nismara3 жыл бұрын
IT'S DOPE
@ytmrdk4 жыл бұрын
How about Fire.$emit 😁, but thanks for this videos, excelent!
@ProgramWithErik4 жыл бұрын
Yes! I didn't mention that but yes
@HoracioDegiorgi4 жыл бұрын
To favs. Thanks
@phredlane90813 жыл бұрын
Why not use events? That's the first thing that came to mind.
@moldovandorin61874 жыл бұрын
i tried for hours to make Vue.prototype work and it doesn't...it baffles me that in this tutorial it works...and I don't understand why in mine is not....damn
@Waelio3 жыл бұрын
What about $emit ?? 😲😮😱😱😳😬
@karnjeet13 жыл бұрын
How to call child method from parent
@karnjeet13 жыл бұрын
We have index page all child page loaded inside of index page using routing. We require to consume method of child page from index
@jotasenator3 жыл бұрын
I was here hoping to find some $event in here..?!
@maskman48214 жыл бұрын
the sixth way is using bus !
@ProgramWithErik4 жыл бұрын
Yes, I thought about showing that, maybe next video