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

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ส.ค. 2024

ความคิดเห็น • 48

  • @JohnKomarnicki
    @JohnKomarnicki  3 ปีที่แล้ว +6

    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 ปีที่แล้ว +4

    The ways you explain is like telling a story and your voice is pretty good too. Loved it so much.

  • @sanusivictorolajuwon514
    @sanusivictorolajuwon514 2 ปีที่แล้ว +2

    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.

  • @warzonevideos
    @warzonevideos 3 ปีที่แล้ว +2

    Saw your video on Brad channel, Your teaching style is Awesome. That Crispy voice is just a ++ :D

  • @JosePerez-qt8cf
    @JosePerez-qt8cf 3 ปีที่แล้ว +1

    Your tuts it's my source to learn Vue, thanks a lot

  • @AntNZ
    @AntNZ 2 ปีที่แล้ว +1

    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

  • @abdelmonem88
    @abdelmonem88 2 ปีที่แล้ว

    really awesome and so simple explanation for something that looks complicated ... thank you, bro

  • @nungumaingi6261
    @nungumaingi6261 2 ปีที่แล้ว +1

    Awesome. Really needed this and you've explained it perfectly. 👍👍

  • @kozele
    @kozele 3 ปีที่แล้ว

    Thank you. Your channel is helping me a lot!!!

  • @d-landjs
    @d-landjs ปีที่แล้ว

    Thnks so much!!!

  • @mohammedbadah5537
    @mohammedbadah5537 2 ปีที่แล้ว

    Awesome explanation, John ... thank you a lot

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

  • @bartoszsowa5140
    @bartoszsowa5140 ปีที่แล้ว

    Thanks

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

  • @subhashmalireddy8211
    @subhashmalireddy8211 2 ปีที่แล้ว

    Simple yet a great one. ❤️ed it.

  • @Jisifus
    @Jisifus ปีที่แล้ว +1

    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)

  • @sammybammy52
    @sammybammy52 ปีที่แล้ว

    thanks bro

  • @NeelanshMathur
    @NeelanshMathur ปีที่แล้ว

    Thanks for this!

  • @dcxwms2151
    @dcxwms2151 2 ปีที่แล้ว

    Truly excellent video

  • @moosesaid
    @moosesaid 2 ปีที่แล้ว

    Thank you!

  • @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 ปีที่แล้ว +1

    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 ปีที่แล้ว +1

      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 ปีที่แล้ว +1

      @@JohnKomarnicki Thank you!

  • @ahheask9527
    @ahheask9527 ปีที่แล้ว

    It save image to local project?

  • @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 ปีที่แล้ว +1

      I appreciate it! Maybe this video i made a few months back would be helpful? th-cam.com/video/sI9YDuwWJ2g/w-d-xo.html

    • @YoNonoGaming
      @YoNonoGaming 3 ปีที่แล้ว

      @@JohnKomarnicki You're a huge help man! Got it working

  • @mohamedtousif7763
    @mohamedtousif7763 2 ปีที่แล้ว

    how to do this in vue 2?

  • @phpisdead
    @phpisdead 2 ปีที่แล้ว

    Best video

  • @ahheask9527
    @ahheask9527 ปีที่แล้ว

    I want to upload images to local project (localhost:8080) and file name save in database api (localhost:3001)

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

  • @KingOG8
    @KingOG8 ปีที่แล้ว

    "here" it is if you know... it triggers like crazy

  • @ahheask9527
    @ahheask9527 ปีที่แล้ว

    I wanna upload image to my local project (localhost:8080/assets/images/), but it not work