V-Model in Vue Simplified

  Рет қаралды 34,638

LearnVue

LearnVue

Күн бұрын

Vue v-model is a directive that provides two-way data binding between an input and form data or between two components.
It’s a simple concept in Vue development, but the true powers of v-model take some time to understand.
By the end of this tutorial, you’ll know all the different use cases for Vue v-model and learn how to use it in your own projects.
//
FREE VUE 3 CHEATSHEET WITH ESSENTIAL CODE SNIPPETS
learnvue.co/vu...
follow me on twitter:
/ mattmaribojoc
🚨 Like quick Vue lessons like these? Check out 800+ lessons over on Vue School - go.learnvue.co...
INTRO
Daily (Prod. by Lukrembo)

Пікірлер: 26
@JoeGoble
@JoeGoble Жыл бұрын
Easily the best Vue channel on KZbin
@CodeJan
@CodeJan 3 жыл бұрын
Personally, I very like the way you're explaining things! Covering the regular use cases and then adding more advanced cases. That's awesome! Bottom line - very useful!
@LearnVue
@LearnVue 3 жыл бұрын
fantastic! thanks so much for watching.
@victoriaa770
@victoriaa770 3 жыл бұрын
This is a really good video!! I love the simple format and how you explain things!! I came across your blog post on v-model and ended up here. Thanks again for making such good content!
@LearnVue
@LearnVue 3 жыл бұрын
thank you! glad you like it
@ReSpawNnL
@ReSpawNnL 3 жыл бұрын
Excellent! I was just looking for more in-depth info on this subject.
@LearnVue
@LearnVue 3 жыл бұрын
perfect timing! glad it was helpful.
@alimodz6253
@alimodz6253 2 жыл бұрын
This concept was a little confusing but you cleared it up thanks! v-model is powerful
@adarshsasidharan254
@adarshsasidharan254 Жыл бұрын
Brilliant explanation
@JaimitoAleman
@JaimitoAleman 2 жыл бұрын
Great content as usual!!
@alighafoori2387
@alighafoori2387 3 жыл бұрын
fantastic, very fast. very practical
@LearnVue
@LearnVue 3 жыл бұрын
thanks ali!
@lighty262
@lighty262 3 жыл бұрын
Thanks for this great tutorial, I wonder if there is a way to save the vuex state in the browser and sync that state when you open the app again
@jouchiwinchester2666
@jouchiwinchester2666 2 жыл бұрын
I've been working with vue for 2 years and i only know this today . hahaha
@jakubzomerfeld2159
@jakubzomerfeld2159 3 жыл бұрын
As always the subject of video is interesting and showed from few points of view/use, great work! Thank You :) only wanted to point that it's worth to include in title or description which Vue version support this exact feature. is this working on Vue 2 also?
@LearnVue
@LearnVue 3 жыл бұрын
Thanks for the words - and that's an excellent point about Vue version. Some of the feature (default names, multiple component v-models) shown in the video only work in Vue 3. Here's a link to the Vue 3 Migration Guide that highlights all the differences: v3.vuejs.org/guide/migration/v-model.html#_2-x-syntax
@kevinwakhisi7001
@kevinwakhisi7001 2 жыл бұрын
When adding vmodel. lazy on the child component, doesn't work is there a solution to this?
@CompanionCube
@CompanionCube 4 ай бұрын
1:30 this is wrong. v-bind can also do two way bindings using events. in fact v-model is just a short hand alias for v-bind. this is useful (and the only way) to work with events with dynamic components
@augischadiegils.5109
@augischadiegils.5109 3 жыл бұрын
thanks
@LearnVue
@LearnVue 3 жыл бұрын
you got it! thanks for watching
@imthisham74
@imthisham74 3 жыл бұрын
How can I connect this app in a website? Please respond
@LearnVue
@LearnVue 3 жыл бұрын
If you mean how to add Vue to your project, there's some great docs on this (v3.vuejs.org/guide/installation.html), but if you mean how to deploy it on your own site, I've made a video about deploying your Vue app to Github pages! kzbin.info/www/bejne/r6CVk4B9o65-e5o
@Mindful-Frequencies-Healthy
@Mindful-Frequencies-Healthy 3 жыл бұрын
Is this v-model in vue 3?
@LearnVue
@LearnVue 3 жыл бұрын
Most of the concepts in this video (basic v-model, component communication using one v-model) work in Vue 2. But features like the (default names of v-model, multiple component v-models) shown in the video only work in Vue 3.
@christianpaul5224
@christianpaul5224 3 жыл бұрын
Okay I'm totally lost
@MANMEETSINGH1993
@MANMEETSINGH1993 3 жыл бұрын
Thanks a lot..... but i would like you to explain a little more.on this to make custom components uisng Vue 3
Vue v-model in child components and defineModel
17:30
Andre Madarang
Рет қаралды 10 М.
Vue Slots Simplified
7:25
LearnVue
Рет қаралды 58 М.
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН
Angular Model - The New Signal-Based 2-way Data Binding
12:52
Decoded Frontend
Рет қаралды 28 М.
Stop Using .value with ref In Vue 3! Reactivity Transformed Explained!
14:22
How to Use Vue watchEffect to Track Reactive Dependencies
7:16
A Better Way To Organize Components In Vue
10:10
Program With Erik
Рет қаралды 27 М.
Vue 3 V-Model Simplified
8:24
John Komarnicki
Рет қаралды 7 М.
Pinia Simplified
4:28
LearnVue
Рет қаралды 128 М.
TanStack Query - How to become a React Query God
28:56
Austin Davis
Рет қаралды 33 М.
7 Design Patterns EVERY Developer Should Know
23:09
ForrestKnight
Рет қаралды 331 М.
Two Vue Directives that Boost App Performance
3:28
LearnVue
Рет қаралды 29 М.
Why I Don't Use v-model In Forms in Vue.js | Form Tips
12:11
Program With Erik
Рет қаралды 43 М.
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН