Build a DropZone (Drag/Drop) Component With Vue 3 (No Library)

  Рет қаралды 31,183

John Komarnicki

John Komarnicki

Күн бұрын

Пікірлер: 49
@JohnKomarnicki
@JohnKomarnicki 3 жыл бұрын
Hopefully you enjoy this little component. If you do, i'd really appreciate you leaving a like on the video! I'm working on a larger project that should hopefully be released next week. Have a great weekend everyone!
@oooii2403
@oooii2403 3 жыл бұрын
The ways you explain is like telling a story and your voice is pretty good too. Loved it so much.
@JohnKomarnicki
@JohnKomarnicki 3 жыл бұрын
I appreciate that! 😀
@warzonevideos
@warzonevideos 3 жыл бұрын
Saw your video on Brad channel, Your teaching style is Awesome. That Crispy voice is just a ++ :D
@JohnKomarnicki
@JohnKomarnicki 3 жыл бұрын
I appreciate it 😀
@sanusivictorolajuwon514
@sanusivictorolajuwon514 3 жыл бұрын
Words can't really explain how helpful your videos have been. I made of this today in a project and it was a breeze. Thanks a lot.
@JohnKomarnicki
@JohnKomarnicki 3 жыл бұрын
I’m glad to hear that :)
@JosePerez-qt8cf
@JosePerez-qt8cf 3 жыл бұрын
Your tuts it's my source to learn Vue, thanks a lot
@JohnKomarnicki
@JohnKomarnicki 3 жыл бұрын
Happy to hear that! :)
@abdelmonem88
@abdelmonem88 2 жыл бұрын
really awesome and so simple explanation for something that looks complicated ... thank you, bro
@nungumaingi6261
@nungumaingi6261 2 жыл бұрын
Awesome. Really needed this and you've explained it perfectly. 👍👍
@JohnKomarnicki
@JohnKomarnicki 2 жыл бұрын
Awesome to hear 🙌
@AntNZ
@AntNZ 2 жыл бұрын
What would be super awesome is a follow up video on how to hook with with supabase and cloudinary 😁😁😁😁😁😁😁😁😁😁😁
@gabrielsalinasszada7283
@gabrielsalinasszada7283 Жыл бұрын
what a delighted explanation
@Jisifus
@Jisifus 2 жыл бұрын
What would a function to remove the file look like? I made a label with an X emote that triggers a function to set dropzoneFile.value to null, hower that doesn't trigger a re-render and errors out (Unhandled error during execution of render function , Uncaught (in promise) TypeError: $setup.dropzoneFile is null)
@mohammedbadah5537
@mohammedbadah5537 3 жыл бұрын
Awesome explanation, John ... thank you a lot
@JohnKomarnicki
@JohnKomarnicki 3 жыл бұрын
Glad it was helpful!
@kozele
@kozele 3 жыл бұрын
Thank you. Your channel is helping me a lot!!!
@JohnKomarnicki
@JohnKomarnicki 3 жыл бұрын
Happy to hear that!
@dimwel
@dimwel Жыл бұрын
Thank you so much for the video, can you explain how to grab multiple files and the send it in POST request? Thank you
@luukwagenaar4155
@luukwagenaar4155 3 жыл бұрын
Quality as always! Ever thought about doing a video with nuxt?
@JohnKomarnicki
@JohnKomarnicki 3 жыл бұрын
Appreciate it it Luuk! Is nuxt compatible with vue 3?
@luukwagenaar4155
@luukwagenaar4155 3 жыл бұрын
@@JohnKomarnicki not yet. You can use vue 2 and import the composition API as a nuxt plugin but official out of the box support has not been implemented yet
@subhashmalireddy
@subhashmalireddy 2 жыл бұрын
Simple yet a great one. ❤️ed it.
@JohnKomarnicki
@JohnKomarnicki 2 жыл бұрын
Thanks a lot!
@subbiwork8955
@subbiwork8955 2 жыл бұрын
Hey this is my other account, haha.
@ahheask9527
@ahheask9527 2 жыл бұрын
It save image to local project?
@230_delfinofahrezaakbar9
@230_delfinofahrezaakbar9 2 жыл бұрын
nice vid btw how to save or store the images file to database? how to add the method after drop the file to send tge data to server ?
@davidfernandezbajo
@davidfernandezbajo 3 жыл бұрын
Great content! Is it possibe for you to do a follow-up on creating the option to eliminate the file if the user made an error when selecting?
@JohnKomarnicki
@JohnKomarnicki 3 жыл бұрын
Appreciate it David! Actually all you would possibly need to do is either drag a new file into the field, and it would overwrite the current file. Or add a button that would clear where we stored the file in the data value!
@davidfernandezbajo
@davidfernandezbajo 3 жыл бұрын
@@JohnKomarnicki Thank you!
@ĐạtNguyễn2k-r4t
@ĐạtNguyễn2k-r4t 2 ай бұрын
thanks for your idea
@codingkobra
@codingkobra 3 жыл бұрын
could u do a MEVN project or do u use firebase exclusively
@JohnKomarnicki
@JohnKomarnicki 3 жыл бұрын
In the future, ill dabble with that. Currently mainly using firebase for backend projects!
@dcxweb
@dcxweb 2 жыл бұрын
Truly excellent video
@JohnKomarnicki
@JohnKomarnicki 2 жыл бұрын
Thank you!
@YoNonoGaming
@YoNonoGaming 3 жыл бұрын
Love your videos, they've been a huge help. Any way you know how to implement this code with previewing the image? I'm trying to store the dropzonefile as a url object, and displaying it from there but having some troubles. Any way you would do it? Thanks again!
@JohnKomarnicki
@JohnKomarnicki 3 жыл бұрын
I appreciate it! Maybe this video i made a few months back would be helpful? kzbin.info/www/bejne/qXqcinerrLx9aMk
@YoNonoGaming
@YoNonoGaming 3 жыл бұрын
@@JohnKomarnicki You're a huge help man! Got it working
@ahheask9527
@ahheask9527 2 жыл бұрын
I want to upload images to local project (localhost:8080) and file name save in database api (localhost:3001)
@NeelanshMathur
@NeelanshMathur 2 жыл бұрын
Thanks for this!
@mohamedtousif7763
@mohamedtousif7763 3 жыл бұрын
how to do this in vue 2?
@moosesaid
@moosesaid 2 жыл бұрын
Thank you!
@d-landjs
@d-landjs Жыл бұрын
Thnks so much!!!
@bartoszsowa5140
@bartoszsowa5140 2 жыл бұрын
Thanks
@sammybammy52
@sammybammy52 Жыл бұрын
thanks bro
@phpisdead
@phpisdead 2 жыл бұрын
Best video
@KingOG8
@KingOG8 Жыл бұрын
"here" it is if you know... it triggers like crazy
@ahheask9527
@ahheask9527 2 жыл бұрын
I wanna upload image to my local project (localhost:8080/assets/images/), but it not work
Adding Drag and Drop to Your Vue 3 Project
7:05
LearnVue
Рет қаралды 84 М.
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 22 МЛН
5 Ways to Fetch Data from an API in Vue 3 Composition API
6:28
Justin Brooks
Рет қаралды 76 М.
Reusable Form Input Components With Vue 3
6:04
John Komarnicki
Рет қаралды 21 М.
Easy VueJS Drag & Drop tutorial
15:52
Tyler Potts
Рет қаралды 52 М.
Infinite Scrolling With Vue & VueUse
8:33
John Komarnicki
Рет қаралды 16 М.
Reusable Form Components with Vue 3
14:18
Vue Mastery
Рет қаралды 55 М.
Build your own Custom Composables in Vue
12:13
Vue Mastery
Рет қаралды 43 М.
Nuxt makes this super easy (route rules)
3:53
John Komarnicki
Рет қаралды 1,5 М.
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН