Responsive Navigation Component With Vue 3 & Vue Animations

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ก.ย. 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!

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

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

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

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

    Please can you push the final code ?

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

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

    These Vue videos are gems OMG. Thank you so much

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

    Amazing tutorial. Really clean and beautiful UX!

  • @АлишерАзимов-д8ш
    @АлишерАзимов-д8ш 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!

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

    I study with pleasure. Thank you

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

  • @cryptosleuth5757
    @cryptosleuth5757 8 หลายเดือนก่อน

    You've inspired me to just go ahead

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

    awesome

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

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

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

    Thank you for this video.

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

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

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

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

  • @user-sf7lz8fn4r
    @user-sf7lz8fn4r 2 ปีที่แล้ว

    It is grate, Thanks!!

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

    Sorted me out, thanks for the help!

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

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

    You da man.

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

    Thanks man!

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

    i loved!

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

    Thanks bro :)

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

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

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

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

    thanks!!!! you help me a lot!

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

    great tutorial! tnx :)

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

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

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

    ty

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

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

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

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

    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 11 หลายเดือนก่อน

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

    • @shaddai_san
      @shaddai_san 10 หลายเดือนก่อน

      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

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

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

    My mark for code along 22:57

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

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

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

      This is not made with bootstrap.

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

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

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

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

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

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

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

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

    👏👏👏👏👏

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

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

  • @АлишерАзимов-д8ш
    @АлишерАзимов-д8ш 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?

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

    bro your github is wrong what happens?

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

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

    Your code is broken.

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

    thanks!