Build a Carousel image slider In VueJs 3 from scratch

Поделиться
HTML-код
  • Опубликовано: 30 сен 2024

Комментарии • 51

  • @joaomateus9341
    @joaomateus9341 2 года назад +2

    This video would be much better if you commented what you were doing while coding, not only showing the code

    • @TutsPrime
      @TutsPrime  2 года назад +1

      I explained everything in my course on Udemy. You can check out here:
      bit.ly/practical-vue3

    • @joaomateus9341
      @joaomateus9341 2 года назад

      @@TutsPrime awesome :)

  • @rifanaldio4640
    @rifanaldio4640 3 года назад +3

    when im trying , image not show

    • @edufreakslearn9523
      @edufreakslearn9523 2 года назад +1

      Very true..code is faulty

    • @TutsPrime
      @TutsPrime  2 года назад +1

      You can check in your console. Make sure you have no error. Also since I use third party image, the problem could be there. You can try to use other image sources like from Unspash, pexels etc.

    • @vuedev6324
      @vuedev6324 2 года назад

      You have to wrap the path in require('.. /../.....') to let webpack know that it should handle this string as a dependency.

  • @Jasond7595
    @Jasond7595 2 года назад +1

    Yo, dud! Cool video, ty, Ive learned a lot about animations and events!
    I think there are a couple improvments could be made.
    1) Eventleave is better here than eventout. It triggers a bit diferently.
    2) Emit these events from isnt neccessery, they can be declared right on component.
    And the last, i personaly more like when slide animation stops when mouse over (includes buttons and indicators) and recreates when mouse leaves the component.
    Also i some how managed to make the whole app "flexible", ive just put img with opasity 0 right next to in so the whole app can shrink or expand.
    Defenetly will watch your other vids :) Good luck!

  • @faysalhafidi
    @faysalhafidi 8 месяцев назад

    Thanks for all, I face an issue but a found a solution and I want to share it you : when I try to switch by next button the transition not appear but I solve it by this code : .slide-out-enter-to {
    z-index:-1;
    }

  • @asyncFlex
    @asyncFlex 2 года назад +1

    thanks u very much for the github JAJA

  • @rmrz2225
    @rmrz2225 Год назад

    This is Vue 2 but looks good!

  • @wibyfabian7853
    @wibyfabian7853 4 месяца назад

    awesome thanks alot

  • @akillarazarar
    @akillarazarar 2 месяца назад

    No voice tutorials are a blessing! Thank you !

  • @migueldemendoza7620
    @migueldemendoza7620 9 месяцев назад

    Normally, I skip all no voice/explanation tutorials. This made me know how wrong I was. Tnx.

  • @湯尼-q1g
    @湯尼-q1g 3 года назад +1

    Great job thank you

  • @danielmartinezortega409
    @danielmartinezortega409 Год назад

    Hi, don't get the transition, I don't know why, the code class is the same but the transition does not have the effect of passing over the other image

  • @agustinaguero3578
    @agustinaguero3578 Год назад

    how can i set images on indicator items ? its posible ?

    • @agustinaguero3578
      @agustinaguero3578 Год назад

      i mean replace the dots for images ( i want to put logo for each one)

  • @clkauk
    @clkauk 7 месяцев назад

    This was a great tutorial and taught me a few important techniques along the way.

  • @nikanorra
    @nikanorra 3 года назад +1

    how grateful I'm!
    Super lesson! thanks a lot!!!

    • @TutsPrime
      @TutsPrime  2 года назад

      You're welcome. I'm glad you like it.

  • @giribabu_43
    @giribabu_43 Год назад

    Thank You so much for this video :)

  • @stevanusbilly9738
    @stevanusbilly9738 2 года назад

    cool video 😍 learn so much from it.

  • @badasscoder4481
    @badasscoder4481 2 года назад

    I almost left freelancing project. I am not good in Vanilla JavaScript. I am using Vue 3 with CDN in php. I tried different slider libraries nothing worked for me. All libraries are written in Vue 2. No support for Vue 3.
    After many scrolling finally, I got a video titled "Build a Carousel image slider In VueJs 3 from scratch". Thank you so much. You saved my project.

    • @TutsPrime
      @TutsPrime  2 года назад +1

      Glad to hear that the video help you :)

  • @legonz5047
    @legonz5047 2 года назад +2

    ok, i have no F*** clue how you get this to work. does not show anything here. Wrote your code 6 times now just in case i had a typo, but it doesnt work.

    • @edufreakslearn9523
      @edufreakslearn9523 2 года назад +1

      Yes .. it does not work

    • @legonz5047
      @legonz5047 2 года назад

      @@edufreakslearn9523 try with require in front of the src it solved the problem for me

    • @vuedev6324
      @vuedev6324 2 года назад

      @@legonz5047 You have to wrap the path in require('.. /../.....') to let webpack know that it should handle this string as a dependency.

    • @benjaminhernandez3662
      @benjaminhernandez3662 2 года назад

      @@vuedev6324 could you post how you did it?

  • @renzongalang6345
    @renzongalang6345 2 года назад

    thank you for this tutorial

  • @FastestPodcastClips
    @FastestPodcastClips 3 года назад

    How do you make this drapable ?

  • @codewithbru
    @codewithbru 2 года назад

    Thank You so much for this video! You helped me a lot!!!

    • @TutsPrime
      @TutsPrime  2 года назад

      Glad to hear that video help you.

  • @oleksiipetrenko3824
    @oleksiipetrenko3824 2 года назад

    And where is VueJs 3 ?

  • @amirbahador.developer
    @amirbahador.developer 2 года назад

    fantastic 👏👏👏❤️

  • @siphenkosifiltane2350
    @siphenkosifiltane2350 2 года назад

    I was looking forward to this but unfortunately the image does not display.

    • @TutsPrime
      @TutsPrime  2 года назад

      If the image does not show, you can inspect the image element in your browser. Make sure the src attribute has valid url. If it has valid url but the image still not displaying, the problem could be in your css code. It could also occurred in the image urls. You may change them with other urls.
      You can also compare your code with the repository that I attached in the video description.

    • @vuedev6324
      @vuedev6324 2 года назад

      @@TutsPrime You have to wrap the path in require('.. /../.....') to let webpack know that it should handle this string as a dependency.

  • @MrPanyako
    @MrPanyako Год назад

    I enjoyed it from start to finish. Surely the best of its type. Kudos brother!

    • @TutsPrime
      @TutsPrime  Год назад

      Glad to hear that you enjoyed it.

  • @jesseulundo4375
    @jesseulundo4375 3 года назад

    Great Job, this is really good and solves some of the issues with the vuetify carousel. Could you please demonstrate how you could solve issues with responsiveness. I mean, how could you make the images automatically change size in different devices? Once again great JOB!!

    • @joaomateus9341
      @joaomateus9341 2 года назад

      I had the same problem w vuetify and came up here

  • @luciabermejosolivellas6174
    @luciabermejosolivellas6174 2 года назад

    Very useful! Thanks for sharing!

    • @TutsPrime
      @TutsPrime  2 года назад

      Glad to hear that the video is useful for you :)

  • @raulromero938
    @raulromero938 2 года назад

    how can I put a path to a local image that is not URL?

    • @TutsPrime
      @TutsPrime  2 года назад

      Suppose you have images folder in public folder of your project. Then you can reference your images like this:
      slides: [
      "/images/img-1.jpg",
      "/images/img-2.jpg",
      ],

    • @vuedev6324
      @vuedev6324 2 года назад

      You have to wrap the path in require('.. /../.....') to let webpack know that it should handle this string as a dependency.

  • @FranciscoJunior29
    @FranciscoJunior29 2 года назад

    Great job, very very good!