Animating Vue Router Transitions in Vue 3

Поделиться
HTML-код
  • Опубликовано: 24 янв 2021
  • Vue Router transitions are a quick and easy way to add some flair to Vue app. They allow you to add smooth animations/transitions between different pages of your app. In this video, learn how to set up Vue Router in Vue 3 and add transitions using both custom classes and the Animate.css library.
    LINKS
    Companion Article w/ Code - learnvue.co/2021/01/4-awesome...
    Vite Tutorial - • Creating Your First Vu...
    Animate.css - animate.style/
    FREE VUE 3 CHEATSHEET WITH ESSENTIAL CODE SNIPPETS
    learnvue.co/vue-3-essentials-...
    follow me on twitter:
    / mattmaribojoc
    🚨 Like quick Vue lessons like these? Check out 800+ lessons over on Vue School - go.learnvue.co/vueschool
  • ХоббиХобби

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

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

    Best tutorial for Vue 3 transitition I have watched so far. Thanks

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

    Wow. The only tutorial that worked flawlessly and was clearly understandable. Thanks.

  • @christopheryeung9235
    @christopheryeung9235 3 года назад +11

    Seriously this is by far the most well articulated set of videos for vue

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

      thank you so much! more content to come!

  • @deweywsu
    @deweywsu Год назад +1

    Wow. What a cool video, and a great teacher. The concepts were built upon each other, done in real time, and at a smooth pace. A++++!

  • @SusanthCom
    @SusanthCom 3 года назад +2

    Detailed and clean explanation ❤️

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

    Wow! I know Vue and Vue-Router and have use all those concepts that the video explains. But I have NEVER EVER seen or read a better and more concise overview on this topic! Absolutely excellent! Thank you very much!

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

      appreciate it tons!

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

    You are the best. Not only the latest version but also very good explanation and content!

  • @lighty262
    @lighty262 2 года назад +4

    The way you deliver information is like a professional, very easy to understand for beginners like me, you deserve more subscribers.

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

      thanks for watching! i'd love to know what you'd want to see next!

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

    Thank you! This is exactly what I’m looking for right now!

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

    I thought I had everything when I saw the newer transitions video but no he top's it off with the EXACT use case I had in mind! Haha this is great!

  • @shmert
    @shmert 3 года назад +19

    The pacing and content are both excellent. I'm new to Vue and couldn't find a basic example of installing/setting up vue-router with Vite. Thank you!

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

      Thanks so much! Glad you enjoy it. What other topics are you interested in as someone new to Vue?

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

      ​@@LearnVue Building a really solid best-practices form. Input-level and form-level validation messages and styling. Disabled inputs & buttons while submitting. Define reusable components so you don't need to duplicate this for every form.

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

      Pro trick: watch movies at flixzone. Me and my gf have been using it for watching a lot of movies recently.

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

      @Deangelo Levi Definitely, have been watching on flixzone for months myself :D

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

    Thank you. This video of yours helped a lot, really.

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

    I have learnt more in this simple tutorial that I ever thought I would when I clicked on the video. Thanks mahn

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

      That's always my goal :)

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

    hoi! nice tutorial on vue router transitions! thanks for bringing high-quality vue tutorials both for vue2 and vue3! i actually have a suggestion.. since you're making a lot of vite + vue 3 content recently, can you make a video about vite-plugin-pages? it seems noteworthy because it feels more like nuxtjs when you have that setup on your vite project, worth a topic of your time. other than that, really awesome content! keep it up!

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

    Your channel is amazing. Keep it up!!

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

    I'm new to vue(2days in) , thank for this

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

    thanks, this is so easy to understand!

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

    It was great! please make more advanced courses for vue and nuxt❤

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

    What just I need. Need more of this

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

      glad to hear! thanks!

  • @4otko999
    @4otko999 Год назад

    amazing video by the way

  •  3 года назад +2

    Super awesome, thank you very much!

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

      You're very welcome!

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

    Bro, thank's for this besting content!

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

    Thank you 💙

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

    Thanks for the great content. 🎈

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

    Great tutorial, thanks 🙏

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

      you’re welcome

  • @farnaamsamadi5386
    @farnaamsamadi5386 3 года назад +2

    Thank you Sir. Please keep going

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

      Thank you for the encouragment - I plan on making tons of video in the next few months so be ready!

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

    Awesome!

  • @12mfon2002
    @12mfon2002 2 года назад +1

    nice tutorial!

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

    Very helpful, thanks.

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

      aye! glad it helped 💚

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

    Very good explanation! I have a question that someone here is able to help me with. I have a menu with home in the middle, on the left agenda and on the right contact. When i'm on home and I click on agenda. Home slides to the right and agenda slides in from the left. But when I click on contact home slides right and contact comes in from the right. Is it possible to detect on which item you click and use a different transitions based on that choice. Thanks in advance!

  • @ten8217
    @ten8217 3 года назад +5

    upon searching for diamonds. i found diamonds. ty for this.

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

      well said my friend, very poetic and accurate

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

    Do you have a video to do the same effect using Nuxt 3?

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

    Thank you sir ..

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

    great voice! greate content! ..wow. Beautiful.

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

      Thanks for watching!

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

    Yet another amazing video. Also, sidenote... Is it possible to setup a discord server where we could give our suggestions for possible videos?

    • @LearnVue
      @LearnVue  3 года назад +2

      Thanks again! Right now, I think the best way to give suggestions is to email me over at matt@learnvue.co - hope to hear from you!

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

    it's veryy gooood

  • @user-ym4zr7dm9y
    @user-ym4zr7dm9y 9 месяцев назад

    Wow!

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

    wow no i have router transition, thank brother!

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

    What is the name of the Font used in the thumbnail

  • @i_am_a_real_cat1443
    @i_am_a_real_cat1443 9 дней назад

    Can someone explain me why i should use this technic instead of using /pages/ ???

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

    Hi ! Can I ask why this does not work anymore? everytime i type in mode="outIn" , my page just goes blank

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

    Boooooooom! 💥

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

    5:28 the part about transitions starts here

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

    i cant find the github of this class

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

    I am from Ukraine and I seen that you the best in the world!

  • @augischadiegils.5109
    @augischadiegils.5109 2 года назад

    ♥️♥️♥️♥️♥️

  • @devops-sushi5534
    @devops-sushi5534 10 месяцев назад

    Strangly my transition only works "sometimes" alot of times my View just does not show up.... any idea why?
    ```

    Home |
    Login |
    Register |
    Events





    ```

    • @devops-sushi5534
      @devops-sushi5534 10 месяцев назад

      This is my router:
      ```
      const router = createRouter({
      history: createWebHistory(),
      routes: [
      {
      path: "/login",
      name: "login",
      component: () => import("@/views/LoginView.vue"),
      meta: {
      enterClass: 'animate__animated animate__fadeInLeft',
      leaveClass: 'animate__animated animate__fadeOutRight',
      }
      },
      {
      path: "/events",
      name: "events",
      component: () => import("@/views/EventsView.vue"),
      },
      {
      // the 404 route, when none of the above matches
      path: "/404",
      name: "error-404",
      component: () => import("@/views/error/ErrorPage404.vue"),
      },
      {
      path: "/:pathMatch(.*)*",
      redirect: "/404",
      },
      ],
      });
      ```

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

    😲

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

    it doesn't work for me

  • @Lily-um8pl
    @Lily-um8pl Год назад

    thank you open the CC subtitle for the poor English people with poor ear

  • @darkmift
    @darkmift 3 года назад +2

    I would recommend to drop the first half showing what router is and focusing on the the subject of the video title.

    • @ransela6139
      @ransela6139 3 года назад +5

      I disagree, there are too many half baked tutorials out there.. a good tutorial is complete imo.. and this is perfect. If you don't need the first bit skip over it.

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

    With 3 routes adding a name of the class to meta wouldn't work.

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

      Take a look a the article linked in the description under the section, "Dynamic Transitions Using v-bind"

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

    What I should to do to remove # from url? CreateWebHashHistory doesn’t work