Responsive Navigation Component With Vue 3 & Vue Animations

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

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

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

    Thanks, really appreciate your effort in making these vue3 videos. It would be awesome if you could make more vue3 + firebase tutorials!

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

    You rock dude. And SCSS got a new disciple thanks to you John. Subscribers ++

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

    Amazing tutorial. Really clean and beautiful UX!

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

    Great content John... came here after watching your 6hrs VueJs blogging project tutorial uploaded on Brad's YT channel and instantaneously subscribed to your YT channel please keep making more VueJS videos , keep up with the good work and please increase your font-size I had real trouble coding along.

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

      Thank you! I also did increase my font size in my most recent videos :)

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

    I study with pleasure. Thank you

  • @user-cf3gi9zj3i
    @user-cf3gi9zj3i 3 года назад +2

    sooo cool!!! I will use it in my project, thank you so much :)

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

      Glad you were able to find use of this component!

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

    These Vue videos are gems OMG. Thank you so much

  • @Leyksnal
    @Leyksnal 2 года назад +5

    Please can you push the final code ?

  • @Fatima-ie5kj
    @Fatima-ie5kj 3 года назад +12

    Thanks, this is exactly what I was looking for. to be honest, I feel so blessed I found this channel, btw I have only one request can u plz increase the editor font size by 1?

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

      Awesome! Yes, in my future videos I’ve increased the font zoom by 1! The newest video is going to be how it will look going forward.

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

      Please you have the final code ? I did everything mine doesn't work and I don't know what really happened...I have tried everything.

  • @user-sf7lz8fn4r
    @user-sf7lz8fn4r 2 года назад

    It is grate, Thanks!!

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

    Does someone know which VS Code extension makes the { } have matching colors?

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

    Sorted me out, thanks for the help!

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

    do you need a media query to set max width of 1140, or will max width just handle itsself? 12:49

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

    Thank you for this video.

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

    Thanks bro :)

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

    awesome

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

    hi, can someone help me? i have a problem with the transition of the mobile menu, when it disappear it does his animation, but when i want to open it, it only pop up on the screen, i'm missing something🤔
    here's the css:
    .mobile-nav-enter-active,
    .mobile-nav-leave-active
    {
    transition: 1s ease all;
    }
    .mobile-nav-enter-from,.mobile-nav-leave-to
    {
    transform: translateX(-250px);
    }
    .mobile-nav-enter-to{
    transform: translateX(0px);
    }
    it should be the same as the video

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

    Can you please also share the branch withe the finished implementation?

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

    Can you show example how to build the structure of the web side. Navbar and footer, the right way please 🙏

  • @cryptosleuth5757
    @cryptosleuth5757 6 месяцев назад

    You've inspired me to just go ahead

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

    thanks!!!! you help me a lot!

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

    Thanks man!

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

    great tutorial! tnx :)

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

    Thanks for the tutorial. Do you know why the "far fa-bars" is not working for me? What could the problem be? I did exactly the same as you did till minute 17:15 but was not able to get the same result as yours.

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

      It is hard to say, but sounds like you might not have the cdn inserted into the head of the public html file

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

      Same for me, if I remove position absolute, then the bars show but otherwise not. Very strange why it works for some and not others. EDIT: close the inspector if it's not showing - once I did that mine was exactly the same as John's

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

    i loved!

  • @7gu85g
    @7gu85g 3 года назад +1

    thanks!

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

    Hi, nice video but i have a question when u toggle hamburger fast it starts doing leave animation from 0px how can i fix that ?? i want to do leave animation exactly in entering process when user click on hamburger i dont know if you understand :D but nice video keep it up :)

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

      Hi, i'm not exactly 100% sure what you are asking. However here are the docs for the vue 3 transitions i used in this video. Perhaps this will give you a better visual of how exactly to accomplish what you are looking for :) v3.vuejs.org/guide/transitions-enterleave.html#transition-classes

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

    Awsome, It is very useful especially for me as a junior :)
    Could you please push the final code into the repository?
    Thanks

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

    Thank you for this video. I've been following and adapting it the Vue composition API setup and since there is no created hook in the Composition API, how can I make the browser detect the initial width of the device ?

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

      You’d wanna wait until the app has been mounted. You could use the mounted lifecycle look for that.

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

      @@JohnKomarnicki Oh thank you, I was not writing it correctly yesterday when I tried it ! I works now . Thank you again for this great tutorial !

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

    All good up to around 23:20 of the video but the @click doesn’t work for the toggleMobileNav.
    I’ve even console.logged inside this but the nothing is triggered by the click event, which is done exactly the same as in the tutorial.
    Could you think of any updates/other causes for this not to work?

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

      Dis you fixed, i have the same problem 😢??

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

      I did resolve it, in my case it was the script link to the font-awesome in my index.html, the solution was to delete the link and instead use npm install, and install via npm the fontawesome

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

    Hi John. Just want to say thanks for a very wonderful tutorial. Very Helpful. Just wanted to ask why is my enter-to sliding transition not working but the leave transition is working perfectly fine. Followed your guide step by step. Thanks in advance if you can respond.

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

      I’d check to make sure you are using the correct class names for leaving! Maybe there is a spelling error?

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

      @@JohnKomarnicki Hi John, quadruple checked everything and the spelling is correct. Is it because when the navigation slides out, it adds display none? And when it slides back in, it removes the style display none. Display cannot be animated right?

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

      @@marcusdfelix You have to rename mobile-nav-enter-from to mobile-nav-enter (without from).

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

    ty

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

    Would like to know how to close menu when selecting background, and how to close menu when a link is selected.

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

      You could listen for a click on the outside of the navigation menu. Or you could use a package called vue click outside!

  • @brendanataliagutierrezsoli9954

    I have a problem :c. No match for
    {"name":"Home","params":{}}
    Error: No match for
    {"name":"Home","params":{}}

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

    You da man.

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

    Great tutorials! Is the complete demo code available in github? Thank you.

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

      Yes, there should be a link in the description

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

    your content is soo precious to good not to follow. asante sana.

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

    how can i close the navigation bar when navigating to a page?

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

      You could listen for a route change, and close the navigation when the route changes.
      Or use a click event on the navigation links to close the bar when pushing to a new route.

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

      I added `@click="toggleMobileView"` to the dropdown router links and it seems to give it this functionality.
      See crappy code snippet below (top part included for context). 🤓
      =======================================================

      Home
      ....

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

    why didn't you show and destroy it according to css screen size with bootstrap d-block d-lg -none

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

    👏👏👏👏👏

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

    why do I keep getting so many errors in css?

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

      If you are using the repo from this, the issue is probably node sass was depreciated for versions 15.x & beyond. You'll have to downgrade to use node-sass or uninstall and install i believe dart-sass

  • @user-cf3gi9zj3i
    @user-cf3gi9zj3i 3 года назад

    please make a tutorial how to make a responsive sidebar on vue 3... Thanks)

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

      Are you ready referring to a vertical navigation bar?

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

    My mark for code along 22:57

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

    I have a problem with sass loader sad

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

      same, were u able to fix that error?

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

      @@Adi02 YES

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

    bro your github is wrong what happens?

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

    Your code is broken.

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

    thanks!