Reusable Form Components with Vue 3

Поделиться
HTML-код
  • Опубликовано: 7 июн 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)

  • @KadduLivingstone
    @KadduLivingstone 2 года назад +2

    This is a clear explanation thanks so much

  • @lorenzneumann7157
    @lorenzneumann7157 7 месяцев назад

    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?

  • @codewithfongoh
    @codewithfongoh Год назад

    Thank youuuuuuu, this just saved me thousands of lines.

  • @IamPali2024
    @IamPali2024 2 года назад +10

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

  • @abdulhameed-vo7jq
    @abdulhameed-vo7jq 2 года назад

    Awesome work, Thanks!

  • @hiroyukinumaguchi1984
    @hiroyukinumaguchi1984 Год назад

    Great content! Thank you!

  • @okanyldrmop
    @okanyldrmop 2 года назад

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

  • @nazeefpeerzade6378
    @nazeefpeerzade6378 2 года назад

    thanks for explaining :)

  • @tianqing9363
    @tianqing9363 2 года назад

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

  • @rimuru2483
    @rimuru2483 Год назад

    Great explanation

  • @TerjeNesthus
    @TerjeNesthus 2 года назад +1

    Thanks for this

  • @zaviusfirerave
    @zaviusfirerave 7 месяцев назад

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

  • @aleksas_codebook
    @aleksas_codebook 2 года назад +1

    Gotta love Vue. :)

  • @caiovinicius7871
    @caiovinicius7871 2 года назад +1

    Very Nice!

  • @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

  • @chris_ea
    @chris_ea 2 года назад +1

    awesome pedagogy

  • @aangGAD
    @aangGAD 2 года назад +1

    very nice!

  • @SethSetiadha
    @SethSetiadha Год назад

    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

  • @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.

  • @alaminhossain6510
    @alaminhossain6510 2 года назад

    Great ❤️

  • @marcelo.caetano
    @marcelo.caetano Год назад

    Radiogroup component ?

  • @user-cj7lq3ug3w
    @user-cj7lq3ug3w Год назад

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

  • @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.