Vue v-model in child components and defineModel

Опубликовано: 07 Октябрь 2024
на канале: Andre Madarang
8,837
268

We look at a few ways to use Vue's v-model in your child components. This includes a manual implementation, using writable computed, using a composable in the VueUse library, and using defineModel which is currently experimental in Vue 3.3.

GitHub Repo: https://github.com/drehimself/vue-vmo...
RFC link: https://github.com/vuejs/rfcs/discuss...

LINKS
My courses: https://codewithdre.com
Sign up for my newsletter: http://andremadarang.com/newsletter
My website: http://andremadarang.com
Twitter:   / drehimself  
GitHub: http://github.com/drehimself
CodePen: http://codepen.io/drehimself