Build an Animated Responsive Sidebar Menu with Vue JS, Vue Router, SCSS and Vite in 2022

Поделиться
HTML-код
  • Опубликовано: 21 фев 2022
  • Learn how to build an animated responsive side navigation bar with a menu using Vue JS, Vue Router and SCSS as our CSS pre-processor. We also use VITE for our Vue development engine!
    Source Code: github.com/TylerPottsDev/yt-v...
    Resources
    vitejs.dev/guide/
    fonts.google.com/icons
    // JOIN THE DISCORD SERVER!
    / discord
    // BECOME A MEMBER TO UNLOCK MORE CONTENT!
    ruclips.net/user/tylerpottsjoin
    // MY GEAR FOR CODING AND RUclips
    Blue Yeti Microphone: amzn.to/3jr3l7T
    Microphone Stand: amzn.to/35B9LMN
    Chair: amzn.to/3dWds3F
    Thunderbolt Dock: amzn.to/3osBF6u
    Monitor: amzn.to/37I8KoR
    Screenbar Light: amzn.to/3iFRS7w
    All of these products I own and have tested!
    // FOLLOW ME ON TWITTER
    / tyler_potts_
    // INTERESTED IN GAME DEV?
    Game development channel: / muddywolf
    // CHECK OUT MY GAME
    play.google.com/store/apps/de...
    // DO THESE SIMPLE STEPS
    LIKE, SUBSCRIBE & SHARE
  • ХоббиХобби

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

  • @TylerPotts
    @TylerPotts  2 года назад +23

    Did YOU enjoy this video? 🤔
    Also, I think I was pronouncing Vite wrong... 😅

  • @MaxAdams00
    @MaxAdams00 Год назад +2

    Thank you so much! This might just be the first tutorial I've done that hasn't had any unsolvable problems! Cheers on this one.

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

    This might be the world's best video on creating sidebars with Vue. Thx :)

  • @orion6831
    @orion6831 Год назад +5

    Thank you for everything! Your videos have really helped me out and I appreciate all the hard work you put into creating and sharing them. Your content is always informative, entertaining, and enjoyable. Thank you for being an amazing creator and for being a positive influence in the RUclips community. Keep up the great work!

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

      Thank you! This really boosts my motivation! I'm happy I've managed to help!

  • @zariachenshui7386
    @zariachenshui7386 11 месяцев назад +2

    Learned a lot from this tutorial. For me, the transition wasn't smooth when shrinking the sidebar, because the text would go onto two lines while the transition was taking place, and increased the space between each menu button once it shrunk. I remedied this by setting a height value for the menu buttons of 3rem (2rem of material-icon height plus 2 x 0.5rem padding). Thank you for this video and your commentary! :)

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

    This was a very nice job Tyler. I forked it and am busy with it. Congrats!

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

    using it for a few years and now I want to upgrade and I'm happy I did that.

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

    Perfect, Vue + beautiful sidebar + vite + router.
    Exactly what i was looking for.

  • @alorpothe2.0
    @alorpothe2.0 Год назад

    Finnally now this channel is actually gonna be consistent

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

    Exactly what i was looking for! Thanks for the informative video

  • @paws7983
    @paws7983 Год назад +2

    Thank you so much for this great video! 👏It really helps a lot! Love your works!
    Looking forward to the video talkig about route!! 😍

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

    Noice !!
    This is the exact same thing I was looking for
    Thank u so much !

  • @abdellatif.laghjaj
    @abdellatif.laghjaj Год назад +1

    Thanks mate, it was a nice oportunity to practice vue :)

  • @manprinsen8150
    @manprinsen8150 5 месяцев назад

    Best web dev tutorial ever!! Hands down!!!

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

    Good Resources for people like me who are in learning process.

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

    This was great! Thanks a lot for sharing it whit us!

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

    Thank you, it means a lot bro:)

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

    Would love a next 3 version with slots

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

    Learned a lot from this video, good job, mate! I have a question to ask, when I scroll-down the page the sidebar's not following the scroll and stays in the upper page, can I fix it so when I scroll-down the sidebar will stays the same? Thank you!

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

    Thank you, that was exactly what I was looking for. Besides the video was a bit of an entertaining comedy show

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

      That's me! Comedian! Actor! Absolute failure! I'm happy I could help 🤣

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

    now i am in a good mood

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

    Cool, like the one in google cloud console

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

    Great video, the program works great

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

    Easy explained very good tutorial.

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

    Great tutorial 🔥

  • @wouilson6473
    @wouilson6473 5 месяцев назад

    Thanks a lot !

  • @bastiancontreraswasilkowsk6485
    @bastiancontreraswasilkowsk6485 15 дней назад +1

    Really nice video, I truly mean it, amazing!

  • @AmeerHamza-fu3rz
    @AmeerHamza-fu3rz Год назад

    Great Video!. learned a lot. But now I am trying to add a nav bar in the content section and it is showing full height of sidebar. can you please guide.

  • @nilopaim1925
    @nilopaim1925 Месяц назад

    Great video! Can you make the same video but updated to Nuxt 3?

  • @sebastianklocke9780
    @sebastianklocke9780 15 дней назад

    Great Video! Thank you.
    Some Feedback:
    1) Add timestamps to the video
    2) "Vite" is pronounced like "weed" and not like "wide"
    3) A better way for dynamic classes would be :class="{'is-exanded': isExpanded}"

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

    thank you ❤❤❤

  • @andriansugiantoputra8269
    @andriansugiantoputra8269 5 месяцев назад +1

    may i ask which part of the code that make the content go right when u open the sidebar? mine doesnt work so i wanted to know which part

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

    Thank you so much!
    Can we add a sub menu?

  • @dennisfransen8538
    @dennisfransen8538 2 года назад +9

    What's up Taylor! Great video as allways.
    In vue you don't have to use an ternary operator to have the class toggled 'is-expanded'. You can actually just pass an object to the class attribute like this.
    :class="{'is-expanded' : is_expanded}"
    Or even better. You could have the css class name and the boolean named the same.
    So it would look something like this.
    :class={ís_expanded}"
    const is_expanded = ref(false)
    .is_expanded {...}
    And if you had multiple booleans with multiple classes. You can pass an array of objects to the :class attribute
    Since im all about examples...
    :class="[{is_expanded}, {is_as_fancy_as_taylor}]"

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

      Amazing! Thank you for that insight!

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

      @@TylerPotts Glad you like it! Maybe you could do a short video about it. Because i see people missing out on this little trick and it's alot cleaner than ternary operators ✌️🧹

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

      I might do a "how to style your vue projects the right way" video but I'll need to do a lot more research to make sure I can give all the tips! :D

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

      @@TylerPotts Sounds awesome! 😎

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

      Thank you!

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

    Hi! Which type of extensions do you use?

  • @charlesthomas8611
    @charlesthomas8611 Месяц назад

    This is so good,, how about generate admin template?

  • @Jorgeee
    @Jorgeee Год назад +2

    Hey Tyler, what extension is that where you can see some greyed out code snippets when you type? For example at 15:43 theres that greyed out div snipper when you start typing in the template. Thanks!

  • @user-mu2zj7ds4n
    @user-mu2zj7ds4n 10 месяцев назад

    It was a very good educational video. But based on that, I asked you to put it in a navbar above

  • @folkcoreano
    @folkcoreano Год назад +2

    MUITO OBRIGADO VOCÊ É GENIAL DEMAIS

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

    Bro, thx!

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

    I have a question on soft soft v20. I have it installed and have played around with it a little. However, I have a very specific goal. I am

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

    thank you

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

    Hello! Please tell me, how you got the automatically code import (css) ?

  • @MTFights
    @MTFights 11 месяцев назад

    awesome video

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

    Great video

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

    Keep inspiring

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

    How to add submenu?

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

    Thank you so much this helped a lot!!!! You saved my life

  • @m62149
    @m62149 11 месяцев назад

    how to make menu link sidebar from table database in vue js?

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

    cool tutorial thanks. But :
    1. you use camel case in javascript, isExpanded
    2. also no pascal case in function but still camel case toggleMenu. pascal case is for classes
    3. to add dynamic classes you do :class="{expanded: isExpanded}"

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

    한국인이 보기에도 어려움이 없는 아주 좋은 강의

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

    how can i switch the icons you are using?

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

    thank you bro thank you

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

    ur a fcking legend dude honestly

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

    My sidebar is in the middle of the screen. Does anyone know how to fix?

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

    Whenever i use the GMS and put it in the soft, it holds out the note forever! please help, i am very confused

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

    does it work with composition api ?

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

    very great

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

      Thank you!

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

      @@TylerPotts make a vue
      portfolio tutorial

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

    how do i run this from another system if already pushed to githhub

  • @iamfkhn
    @iamfkhn 5 месяцев назад

    Which theme is that?

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

    I could not find the GitHub repository for your sidebar. Could you please share the link?

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

      Sorry, my mistake - found it! By the way great video!

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

      Happy you found it! Thank you!

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

    at 18:39 your SASS doesnt work for me, i cant declare the main inside the .app{} it just tells me that 'a colon was expected' is this deprecated or?

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

      for anyone wondering, i wrote the style identifier as Lang="scss: instead of lang="scss"

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

    great video, thank you.. can i have contact with you?

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

    with react :)

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

    scss is not installed, why?

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

    Awesome...although the github link for the source code is not working...please fix...thanks a lot

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

      Try now! I accidentally had it as private! Thanks! :D

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

      Thank you so much.....

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

    For once, the software is actually really useful

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

      That's great to hear! Thank you.

  • @HabiburRahman-dh7oy
    @HabiburRahman-dh7oy Год назад

    Fallen Sun yeah! e too

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

    Great video👍 however... It is NOT white, it is weet 😀 my ear were hurting so much 🤣

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

    Your VSCode theme plz?

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

      SynthWave84

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

      @@TylerPotts thanks for your immediate reply

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

    program.

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

    you don't want google fonts in europe :D gdpr will hunt you in your dreams :D

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

    Smooth without content. But add some images and div`s and width changing animation tear your eyes apart...

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

    why dont you use webstorm

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

      Why would I pay for webstorm when I have vs code? Don't get me wrong I know webstorm can't be beaten on intellisense but I just prefer VS Code.

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

      @@TylerPotts get it free lul

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

      @@TylerPotts i use it free

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

    Module not found: Error: Can't resolve './src/main.js
    эта ошибка не дает мне прогресса

  • @dailymeow3283
    @dailymeow3283 Год назад +3

    I learnt .router-link-exact-active thanks🍦🍦