Learn Vuex in 30 MINUTES! (Vue JS 3)

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ก.ค. 2024
  • In this video I’m gonna show you how to get started with Vuex (within a Vue 3 project) - in around 30 minutes!
    👉 My Courses: dannys.link/courses
    👉 Download Fudget: www.fudget.com
    👉 My VSCode Setup: dannys.link/vscodesetup
    👉 DONT CLICK THIS: dannys.link/dontclick
    0:00 Introduction
    0:52 Create a VueJS 3 Project
    2:39 Counter App - Design
    4:35 Counter App - Data & Methods
    6:08 What is Vuex?
    7:54 Vuex Store Sections Explained
    10:51 Setup State
    12:01 Setup Mutations
    13:54 Setup Actions
    20:01 Setup Getters
    22:01 Vuex & Two-Way Binding
    28:19 Child Components
    We’re gonna create a simple counter app - in the usual way Vue JS way - by adding data and methods to our view component.
    And then we’re gonna move all of our data and methods into a Vuex store - using State, Mutations, Actions and Getters.
    You’ll also see how to use an API within Vuex - using Axios.
    I’ll also explain what Vuex is and why you would use it.

ความคิดเห็น • 455

  • @MakeAppswithDanny
    @MakeAppswithDanny  3 ปีที่แล้ว +24

    Thanks for watching! Please like, share, subscribe & leave a comment. All of these really help me to create more content for this channel. Timestamps:
    0:00 Introduction
    0:52 Create a VueJS 3 Project
    2:39 Counter App - Design
    4:35 Counter App - Data & Methods
    6:08 What is Vuex?
    7:54 Vuex Store Sections Explained
    10:51 Setup State
    12:01 Setup Mutations
    13:54 Setup Actions
    20:01 Setup Getters
    22:01 Vuex & Two-Way Binding
    28:19 Child Components
    👉 My Courses: dannys.link/courses
    👉 Download Fudget: www.fudget.com
    👉 My VSCode Setup: dannys.link/vscodesetup
    👉 DONT CLICK THIS: dannys.link/dontclick

  • @Jjjabes
    @Jjjabes 3 ปีที่แล้ว +34

    One of the best tutorials I've seen in a while. Really well explained and to the point. Thank you!

  • @PurpleGlobe
    @PurpleGlobe 2 ปีที่แล้ว +9

    I'm teaching myself to code, and have had a hard time understanding Vuex. This has helped a lot!

  • @hamzadahmoun5102
    @hamzadahmoun5102 3 ปีที่แล้ว +5

    coming from Asp Net Core and C# .... trying to learn Vuejs, and now Vuex, I had actually 0 difficulty to understand this tutorial! Thanks a lot Danny

  • @werneralonzo1230
    @werneralonzo1230 3 ปีที่แล้ว +6

    Finally I understand how vuex works, thanks for the great tutorial

  • @ianmcfall7
    @ianmcfall7 2 ปีที่แล้ว +1

    This translation from vuejs to vuex was critical to my project and my learning. Thanks for laying everything out and addressing all the presuppositions. Cheers!

  • @jesseschoonveld7706
    @jesseschoonveld7706 3 ปีที่แล้ว +10

    Thanks for explaining things so clearly! Been learning this with help of the documentation but this video really helped me wrap my mind around this concept.

  • @octavian3033
    @octavian3033 3 ปีที่แล้ว +1

    Awesome stuff. Just came from your composition API tutorial and I must say these have been a lot of help.

  • @vampirejs758
    @vampirejs758 3 ปีที่แล้ว +16

    How about making an ionic vue app tutorial or one more Quasar framework video.......... love your videos

  • @paulotrajano83
    @paulotrajano83 3 ปีที่แล้ว +1

    The kind of video you want to watch over and over again. Thank you very much, Danny! Greetings from Brasil

  • @tartarusdivision1054
    @tartarusdivision1054 3 ปีที่แล้ว +4

    hands down one of the best tutorial channels out there

  • @davel9130
    @davel9130 2 ปีที่แล้ว +1

    So good. This course covers essential aspects that I haven't been able to find elsewhere (a tutorial that discusses updating the Vuex store via an async API). Thank you!!

    • @MakeAppswithDanny
      @MakeAppswithDanny  2 ปีที่แล้ว

      My pleasure, Dave. Thanks for watching! 👍

  • @jeyjeymohaa3081
    @jeyjeymohaa3081 2 ปีที่แล้ว +1

    First time i found your channel, easy and direct to the point explanation. Definitely subscribing🤗

  • @ricklove8358
    @ricklove8358 2 ปีที่แล้ว +1

    this was very helpful. keep on the hard work we are here to support you through thick and thin.

  • @jbarriossandrea
    @jbarriossandrea ปีที่แล้ว +2

    I usually play videos at 2x speed but this video is so straight to the point I didn't needed to, thanks for the great video 💪

  • @Tommy-ev6gv
    @Tommy-ev6gv 3 ปีที่แล้ว +2

    This was really good Danny, learned alot from this!

  • @sunraiii
    @sunraiii ปีที่แล้ว +2

    So clean and concise.
    I love it when tutorials start from the bare minimum and build up apps atom by atom.

  • @d30x58
    @d30x58 2 ปีที่แล้ว +2

    Thanks so much, learned Vue for the first time from your tutorials and I've been loving it since.

  • @joshuaberrios
    @joshuaberrios ปีที่แล้ว +1

    I am grateful to have found this tutorial. Very clear, concise, easy to follow, and super helpful. I have been needing to learn more about VueX State Management for my new software engineering role and finally came across this video. Also, noticed you have not uploaded in a while, will you be uploading new content soon?

    • @MakeAppswithDanny
      @MakeAppswithDanny  ปีที่แล้ว

      I'm focused on getting my app (Fudget 2) released at the moment: www.fudget.com
      We are beta testing at the moment, so hopefully won't be too long. Once it's published and stable I will hopefully start doing videos again. 👍

  • @napoleonbonaparte1260
    @napoleonbonaparte1260 3 ปีที่แล้ว +1

    I will share this vuex tutorial to the vue js group in Facebook. This tutorial is the best I seen so far. Keep it up, you are a great software developer/professor.

  • @ibrahimyosif
    @ibrahimyosif 2 ปีที่แล้ว +1

    very useful tutorial, thank you for explaining in detail and a decent pace

  • @illusiveCode
    @illusiveCode 2 ปีที่แล้ว +1

    This tut couldn’t get any better, thanks for making vue easy to learn!

    • @MakeAppswithDanny
      @MakeAppswithDanny  2 ปีที่แล้ว +1

      Thanks illusiveCode. I've got a "Learn Pinia in 30 MINUTES!" video coming soon too! 👍

  • @Yabai-fc9kv
    @Yabai-fc9kv ปีที่แล้ว +2

    To the point and easy to understand!
    Thank You!

  • @oketafred
    @oketafred 3 ปีที่แล้ว +3

    I think the best Vuex Tutorial on TH-cam for me. Thanks, Danny

  • @hillno
    @hillno 3 ปีที่แล้ว +1

    Great tutorial! Love it starts from the beginning

  • @anhhoangtuan4865
    @anhhoangtuan4865 ปีที่แล้ว +1

    Thank you saved me a lot of time trying to browse videos for an actual working one

  • @myblender3djourney
    @myblender3djourney ปีที่แล้ว +1

    This is exactly what I needed!!! Thank you so so much!!

  • @MeonisRP
    @MeonisRP 2 ปีที่แล้ว +2

    It was a complicated theme for me, but I finally got it. Thanks for the tutorial!

  • @knotcircle2844
    @knotcircle2844 2 ปีที่แล้ว +1

    You explained better than the videos I watched before. Good thing I found your video, I saved lots of money without signing-up to the course I have difficulty to wrap my mind about Vuex

  • @maskman4821
    @maskman4821 3 ปีที่แล้ว +2

    I am pretty sure it is the best vuex tutorial, I have learned a lot from this 30 minutes tutorial which Danny condense the essence / core of vuex in this terrific example. Danny is an excellent instructor / teacher / developer, everything is straight to the point, walking you through every step with great and detailed explanations. if you want to learn building mobile apps with vuejs, Danny's tutorials / courses are the only and the best !!!

  • @Raj_Patel21
    @Raj_Patel21 3 ปีที่แล้ว +1

    Concise and to the point, Thanks for the video :)

  • @fariazkhan1779
    @fariazkhan1779 2 ปีที่แล้ว +1

    Great explanation. It was very easy for me to learn Vuex. Thanks for the video!

  • @marksantosss
    @marksantosss ปีที่แล้ว +1

    This video is precise and well explained. Thank you danny.

  • @juzerhakimji9720
    @juzerhakimji9720 2 ปีที่แล้ว +1

    Beautifully explained. Really helpful Thanks :)

  • @Pss19940909
    @Pss19940909 ปีที่แล้ว +1

    very clear and to the point. Thanks a lot for this video!!!

  • @gowdhamt1651
    @gowdhamt1651 5 หลายเดือนก่อน +1

    Thank you very much for such a crisp and clear tutorial.

  • @danmontesinos2094
    @danmontesinos2094 3 ปีที่แล้ว +1

    Hands down! Finally understood how Vuex works. Thanks for creating this great video!

  • @iAmTheSquidThing
    @iAmTheSquidThing 2 ปีที่แล้ว +1

    This is the best introduction to state management I've ever seen.

  • @abhinavkashyap2196
    @abhinavkashyap2196 ปีที่แล้ว +1

    Great video. Clear and to the point. Thank you! You earned a sub.

  • @ravimukti690
    @ravimukti690 2 ปีที่แล้ว +1

    Very best tutorial ever, clear and strike to the point, thanks for the video

  • @raymondkalumbajoseph5789
    @raymondkalumbajoseph5789 2 ปีที่แล้ว +1

    Am coming from react just two days into vue, have found this video interesting with great explanations on the state management using vuex, big ups Danny

  • @MrScalleta
    @MrScalleta 3 ปีที่แล้ว +5

    Danny please more content for Quasar Framework! Cross-platform apps are the future!

  • @googleanalytics3717
    @googleanalytics3717 2 ปีที่แล้ว +2

    I agree with all the commentators - really the best lesson of all while being simple and visual! Thank you!
    And for Christmas, I want the same haircut 🥳🎄

  • @sanjaytk
    @sanjaytk 10 หลายเดือนก่อน +1

    Wow!! nicely clarified the store... thanks for sharing 👌👌

  • @rpralica
    @rpralica 2 ปีที่แล้ว +1

    Thank You .Your tuts are very simple and understandanble.

  • @scientist.entity6609
    @scientist.entity6609 2 ปีที่แล้ว +1

    Amazing channel and its rly easy to understand you. Thank you !

  • @koleto155
    @koleto155 3 ปีที่แล้ว +1

    Understandable, Focused and Practical => Excellent

  • @jeremiaholuwaseun7327
    @jeremiaholuwaseun7327 2 ปีที่แล้ว +1

    God bless you sir, you just made my day. simple and straightforward

  • @sergioalejandroservinarce3005
    @sergioalejandroservinarce3005 2 ปีที่แล้ว +2

    for Christmas I want you to appear again with the quasar video series, thank you!

  • @ramasif9983
    @ramasif9983 3 ปีที่แล้ว +1

    Smashed the like-button! Keep up the good work, Danny! Wish: more Quasar videos!!

  • @demolatheophilus9394
    @demolatheophilus9394 2 ปีที่แล้ว +1

    You've really helped me so much 🙏🙏.
    Bless you sir.

  • @shubhamjain8130
    @shubhamjain8130 3 ปีที่แล้ว +1

    wonderful video and the way of teaching..Thanks a lot!!

  • @josephridge3646
    @josephridge3646 2 ปีที่แล้ว +1

    Thank you Mr.Danny this is a well laid our tutorial ! Thank you again

  • @SushanGhimire55
    @SushanGhimire55 3 ปีที่แล้ว +3

    Finally best vue3/vuex tutorial popup on my timeline❤️

  • @gesley_neres
    @gesley_neres 3 ปีที่แล้ว +1

    What a great tutorial. Congrats Danny!!!

  • @GergelyCsermely
    @GergelyCsermely 2 ปีที่แล้ว +1

    Thank You very mutch. Excellent tutorial. Very professional examples.

  • @hotchaddi
    @hotchaddi 3 ปีที่แล้ว +1

    Legends say that Danny is still giving hearts to this day!

  • @harishpillarisetti6658
    @harishpillarisetti6658 3 ปีที่แล้ว +1

    You're King Danny. A King.

  • @unkn0wnrge189
    @unkn0wnrge189 3 ปีที่แล้ว +1

    Thank you very much! Only video in youtube where I really got Vuex, because it is a simple example, now I remember a tip from a developer which told me "When learning start with small projects", I only wish you had covered modules.

    • @MakeAppswithDanny
      @MakeAppswithDanny  3 ปีที่แล้ว

      Thanks! Couldn't agree more. The simpler the better, at first!

  • @christianjayreyes4962
    @christianjayreyes4962 2 ปีที่แล้ว +1

    Just subscribed! Wonderful tutorial!

  • @emcysquare
    @emcysquare 2 ปีที่แล้ว +1

    Very well explained and clear, thanks

  • @marcelodheni
    @marcelodheni 2 ปีที่แล้ว +1

    absolutely great, thank you very much for the content, cheers from Brazil.

  • @jrguedes
    @jrguedes 3 ปีที่แล้ว +1

    Thank you so much. I've learned a lot of things from this video

  • @thaleschadiarakos196
    @thaleschadiarakos196 3 ปีที่แล้ว +1

    Great tutorial!. It helps me alot. Thank you

  • @whatinthai
    @whatinthai 3 ปีที่แล้ว +1

    Amazing VDO, easy to understand Vuex and clearly explaination. Thank u

  • @nickbrown6754
    @nickbrown6754 2 ปีที่แล้ว +1

    Really helpful and simple little video thank you.

  • @JacobDunbar
    @JacobDunbar ปีที่แล้ว +1

    exactly what i needed, thanks!

  • @narekpetrosyan7989
    @narekpetrosyan7989 3 ปีที่แล้ว +1

    finally I managed to find an actual video or some kind of tutorial about Vuex, thanks a lot mate, you're doing a great job for such people like me (trying to move from react+redux to Vue), I am looking forward to seeing your actual videos about Vue

    • @MakeAppswithDanny
      @MakeAppswithDanny  3 ปีที่แล้ว +1

      Thanks Narek! Glad it was helpful! Btw, what made you decide to move from React to VueJS?

    • @narekpetrosyan7989
      @narekpetrosyan7989 3 ปีที่แล้ว

      ​@@MakeAppswithDanny Truly I can't explain it, besides I don't want to stay only with React and Redux

  • @mrinalsharma9540
    @mrinalsharma9540 2 ปีที่แล้ว +1

    Best vuex crash course till date! Thanks man this was really helpful.

  • @IwonaSitnik
    @IwonaSitnik ปีที่แล้ว +1

    Great material! Thank you!

  • @marcunnocello3092
    @marcunnocello3092 3 ปีที่แล้ว +1

    It helped me a lot, thanks mate

    • @MakeAppswithDanny
      @MakeAppswithDanny  3 ปีที่แล้ว

      No worries Marcunno! Thanks for watching & commenting!

  • @rickycaron2177
    @rickycaron2177 3 ปีที่แล้ว

    This video saved my life! I have an exam in 2 days which I didn't learn anything at all. And my teammate urged me to do the Vue project. I need to add user authentication for the Vue CLI. I found a lot of videos but they made me upset. Either use Vue 2 or use Vue in composition which I don't know or didn't make the sense of Veux. I worked 2 days on it and nearly gave up. Fortunately, I found this video which made the mechanism of Vuex so much clear! I am so excited and moved now. Thank you again for making this video!!!

    • @MakeAppswithDanny
      @MakeAppswithDanny  3 ปีที่แล้ว +1

      Wow thanks Ricky. Glad it helped so much 👍

  • @malek6303
    @malek6303 3 ปีที่แล้ว +1

    you are such a life saver

  • @franzdarellemacatangga858
    @franzdarellemacatangga858 ปีที่แล้ว +1

    i hope you continue creating tutorials you are great at it. thank you very much.

    • @MakeAppswithDanny
      @MakeAppswithDanny  ปีที่แล้ว +1

      Thank you Franz. Yes hopefully I'll start making more videos soon 🤙

  • @yehezkielwijaya5863
    @yehezkielwijaya5863 2 ปีที่แล้ว +1

    Awesome tutorial, thank You Sir!

  • @omairzamir1246
    @omairzamir1246 3 ปีที่แล้ว +1

    Very Well Explained in short Time...!

  • @user-rn9gh8uz8k
    @user-rn9gh8uz8k 11 วันที่ผ่านมา +1

    Thank you for the excellent video. you saved my time a lot.

  • @michael.028
    @michael.028 ปีที่แล้ว +1

    Excellent video Danny!

  • @mohammadnabi8910
    @mohammadnabi8910 3 ปีที่แล้ว +1

    Superb video for anyone who wanna explore and learn the basics of Vuex.

  • @LowRider1500
    @LowRider1500 3 ปีที่แล้ว +1

    You are my hero, thanks for this awesome tutorial.

  • @Arabian_Epileptic
    @Arabian_Epileptic 3 ปีที่แล้ว +2

    You can also square the counter like this:
    Math.pow(state.count, 2)

  • @imranlashari6578
    @imranlashari6578 3 ปีที่แล้ว +2

    Wow Simple and straightforward in 30 minutes... Great

  • @nirajankarki6297
    @nirajankarki6297 2 ปีที่แล้ว +1

    Best Vuex Tutorial out there, Thanks Man!!

  • @nickoquiamco978
    @nickoquiamco978 3 ปีที่แล้ว +3

    This is good. Thanks a lot!

  • @RavagetheRain
    @RavagetheRain 2 ปีที่แล้ว +2

    Great video. Definitely makes Vuex a little more approachable.

  • @toyeseaderibigbe2363
    @toyeseaderibigbe2363 2 ปีที่แล้ว +1

    You don't know how helpful this was to me. Thanks I really really really appreciate it 🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰❤️❤️❤️❤️❤️❤️❤️

  • @vc7057
    @vc7057 2 ปีที่แล้ว +1

    Perfect ! That's what I needed :-)

  • @illestoth9298
    @illestoth9298 ปีที่แล้ว +1

    This video saved my life. Thank you!

  • @bertrandatemkeng6509
    @bertrandatemkeng6509 3 ปีที่แล้ว +3

    Thanks Danny. Its been a minute

  • @minskinho
    @minskinho 3 ปีที่แล้ว +2

    Excellent! Thank you very much!

  • @dweebycat9929
    @dweebycat9929 ปีที่แล้ว +1

    Very helpful, thank you!!

  • @martinn1071
    @martinn1071 2 ปีที่แล้ว +1

    thanks so so much !! super clear !!

  • @vulcan2230
    @vulcan2230 3 ปีที่แล้ว +1

    Thanks Danny, this tutorial was excellent

  • @ASSassINS111111
    @ASSassINS111111 3 ปีที่แล้ว +1

    Great course! thank you!

  • @aswinpreman907
    @aswinpreman907 2 ปีที่แล้ว +1

    Great video bro. Thanks a lot

  • @besmellahbasam5751
    @besmellahbasam5751 11 หลายเดือนก่อน +1

    Explained very well. thanks

  • @mezianibelkacem650
    @mezianibelkacem650 3 ปีที่แล้ว +1

    Wow thank you, it was amazing :)

    • @MakeAppswithDanny
      @MakeAppswithDanny  3 ปีที่แล้ว +1

      No worries, thanks for commenting, Meziani!

  • @truthteachers
    @truthteachers 2 ปีที่แล้ว +1

    Really fantastic, Danny. I searched all over for a simple vuex course and found yours and learnt in 30 minutes, truly. Please keep me informed of all your upcoming courses

    • @MakeAppswithDanny
      @MakeAppswithDanny  2 ปีที่แล้ว

      Thanks Murugappan! I have a course coming out very soon, "Vue 3: Composition API (with Pinia & Vite)" sign up to the newsletter to get the opening discount here: dannys.link/compositionapi

    • @truthteachers
      @truthteachers 2 ปีที่แล้ว +1

      @@MakeAppswithDanny I did already and i am already watching. In first video you said you will not do Pinia but the title says "with Pinia". Sort of confused here.

    • @MakeAppswithDanny
      @MakeAppswithDanny  2 ปีที่แล้ว

      @@truthteachers It's because this TH-cam series is taken from my full Udemy course "Vue 3: Composition API (with Pinia & Vite)". Pinia will be covered in the full course on Udemy 👍

    • @truthteachers
      @truthteachers 2 ปีที่แล้ว +1

      @@MakeAppswithDanny I checked udemy and I guess from your reply the course is not in udemy yet?

    • @MakeAppswithDanny
      @MakeAppswithDanny  2 ปีที่แล้ว

      @@truthteachers not yet but hopefully next week 👍

  • @meetbardoliya6645
    @meetbardoliya6645 2 ปีที่แล้ว +1

    You're the Gem! Thanks a lot:)

  • @feyziz
    @feyziz 2 ปีที่แล้ว +1

    Bravo !.. Excellent job Danny;