Reusable Form Components with Vue 3

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ส.ค. 2024
  • Harness the power of Vue 3 to create simpler and more powerful reusable form components. This video is an introduction to our full course on Vue 3 Forms available here 👉 www.vuemastery.com/courses/vu...
    Ready to master Vue.js? With weekly Vue js tutorials on the latest topics, and exclusive content with Evan You (the creator of Vue), Vue Mastery is the ultimate learning resource for Vue developers to level-up their skills. Watch more free Vuejs tutorials 👉 www.vuemastery.com/courses
    Get in touch 👉 team@vuemastery.com
    Lesson Resources:
    Starting code: github.com/Code-Pop/Vue-3-For...
    Ending code: github.com/Code-Pop/Vue-3-For...
    Jump to:
    0:00 Course Overview
    2:29 Our Demo Form
    3:44 The BaseInput
    6:45 v-model: Binding to the value
    7:55 v-model: Emitting the update:modelValue event
    11:56 Assigning the $attrs to the input
    13:34 Wrapping up
  • วิทยาศาสตร์และเทคโนโลยี

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

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

    I love that you speak very clearly so i can understand everything you say in the right way!!! (i speak spanish xD)

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

    Ready to become a better Vue developer in 2022? To help you meet your goals, we are offering a full year of access to our premium courses for the cost of less than 6 months. 👉buff.ly/32c0Kwh

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

    This is amazing. I think Vue will soon become the most popular framework :)

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

    This is a clear explanation thanks so much

  • @abdulhameed-vo7jq
    @abdulhameed-vo7jq 2 ปีที่แล้ว

    Awesome work, Thanks!

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

    Thank youuuuuuu, this just saved me thousands of lines.

  • @lorenzneumann7157
    @lorenzneumann7157 9 หลายเดือนก่อน

    Exactly what I was looking for

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

    Thank you for this awesome tutorial. Can you please tell me how to apply the same concept for drop-down list in the form?

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

    Great content! Thank you!

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

    thanks for explaining :)

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

    Great explanation

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

    awesome pedagogy

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

    Thanks for this

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

    Very Nice!

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

    Gotta love Vue. :)

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

    very nice!

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

    Which theme is used in editor? Btw, thank you for this video.

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

    I'm curious what software do you use to animate things in your videos?

  • @zaviusfirerave
    @zaviusfirerave 9 หลายเดือนก่อน

    What's a good way to generate a dynamic id for the input tag so that the label can have a for attribute too?

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

    Great ❤️

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

    Amazing

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

    A reusabilty is an amazing feature of Vue. I think you are near to switch to low code technology, when you do not need to code at all, you can just tell - I want a drop down form element with: label,list of items and so on. It will be extra cool.

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

    would you please make video for more advance form and recommended component/plugin, let's say like datepicker, autocomplete dropdown both single and multiple selectable values, file upload, etc...and same example might need back-end, but i think it would be great video

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

      This is a great idea!

  • @user-cj7lq3ug3w
    @user-cj7lq3ug3w ปีที่แล้ว

    How do create a Reusable Form Components with Vue 3 for textarea

  • @marcelo.caetano
    @marcelo.caetano ปีที่แล้ว

    Radiogroup component ?

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

    sensetional

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

    Oh! I love Vue! ... pun intended

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

    Ufff

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

    Creas un componente reutilizable para el proyecto.
    ... Nadie lo usa y terminan haciendo desde cero lo mismo que hace el componente >:u

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

    My Typescript cries..

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

    why do you use $emit.target.value instead of just the modelValue prop you set up bound to :value?

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

      This. I have been testing atomic components for things like she is building here and it seems that Vue automatically emits the modelValue without having to define the emit. Vue emits the changes for you.