Really helpful as always. Please create the fully functional project using vue 3 set-up api, vuex / pinia and typescript
@martinpenev6750 Жыл бұрын
This video just cleared a confusion I had for quite some time! Thx for the superb explanation 👏🏻
@JohnKomarnicki Жыл бұрын
Glad it was helpful!
@_the_one_12 жыл бұрын
Pro tip: if you use `type: [Boolean, String]` for the label prop you don't need to specify `default: false` because that would be set by default
@Tarabass Жыл бұрын
I think the whole boolean isn't necessary, just make the string not required. An empty string is falsy..
@owhut54392 жыл бұрын
Great content, hope to see a nuxt 3 tutorial soon
@JohnKomarnicki2 жыл бұрын
Yes, I’ll be creating some content with nuxt soon!
@Al-Misanthropic-Bundy2 жыл бұрын
These damn bots commenting on every video now. Thanks a lot for the video! I love Vue3 and you always slow us nice and easy stuff about it!
@JohnKomarnicki2 жыл бұрын
Yeah, lol. I’ve seen these a lot recently 😂 thanks glad you’re enjoying and finding them valuable!
@CsabaKissColorado Жыл бұрын
You could make it even simpler by using the useVModel function from the VueUse library
@JohnKomarnicki Жыл бұрын
Yeah, I wanted to show how to do this without that, to understand how it worked under the hood. But vueUse is definitely a viable option!
@pixiedev Жыл бұрын
Thanks this is what I need.
@JohnKomarnicki Жыл бұрын
Glad to hear!
@Ikkin26711 ай бұрын
Hello is this also applicable for ionic vue project? Thank you
@tanzimibthesam58614 ай бұрын
What to do if i want to make whole form resuable?
@RianY2K2 жыл бұрын
Thank you for video, this is useful
@JohnKomarnicki2 жыл бұрын
I’m glad to hear!
@NeGovoriNet2 жыл бұрын
Thank you. Will you tell us about how to validate these components?
@JohnKomarnicki2 жыл бұрын
I’m going to create a follow up video for validation on forms!
@DanielTames2 жыл бұрын
Thanks for the video John! I have a question, the $attrs key binded can be used for any other html tag? Is there another using for this key?
@JohnKomarnicki2 жыл бұрын
$attrs holds all the attribute values pass from the parent for you to access within the template itself. You can use it on any element you want to inherit the attributes on
@DanielTames2 жыл бұрын
@@JohnKomarnicki Awesome!! Thank you Also, idk why I can’t use defineEmmits or defineProps() without importing them, the editor shows an error, or I’m not sure if it’s a vetur or volar error
@Al-Misanthropic-Bundy2 жыл бұрын
@@DanielTamesMake sure you are using
@dimjohn58782 жыл бұрын
when i import the Modal to my parent component, the child component is shown in the script (Modal gets green) and not in the template (Modal is shown as plain text ). As a result i cant reuse the child component. Can someone help me plz
@manjirisonar4490 Жыл бұрын
Thanks for this tutorial. Its helpful but Getting following error. Can you please help me here? => E:\...\customelement\src\components\BaseInput.vue 14:3 error 'defineProps' is not defined no-undef ✖ 1 problem (1 error, 0 warnings)
@manamimnm Жыл бұрын
try importing defineProps from vue
@karthikm.18042 жыл бұрын
Tutorial on Product feedback app with vue
@guillermomazzari49832 жыл бұрын
Great vid, but it be way better using pinia, just a comment
@ravibhati9270 Жыл бұрын
Would be great if you can share, how the same BaseInput can be used with other types like (number, email, password, etc)