Building a Sidebar Menu in Laravel - Episode 1

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

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

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

    If anyone needs the source code for this project. Here it is github.com/tuto1902/laravel-sidebar
    It's a slightly improved version using the latest Laravel version. Keep in mind, this version uses Vite for asset compilation instead of Mix.

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

    Hey, I don't know why but I am seeing this video very blury even at 720?

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

      I think the lighting was not great when I recorded the talking head. But I just tried in my phone and PC and the screen record sections look clear and legible to me

  • @farrisnasarudin7386
    @farrisnasarudin7386 3 месяца назад +1

    28:52

  • @15.giskanurulfitri15
    @15.giskanurulfitri15 26 дней назад

    i can't do the installation like in the beggining, in my terminal there's no " -> ~ " what should i do to make it like that?

    • @Tuto1902
      @Tuto1902  20 дней назад

      no need to concern yourself with that. It's not part of the installation. Focus only on the command itself. If you do want to make it look like that, try installing OhMyZsh ohmyz.sh/

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

    Sir i'm using livewire, what would be alternative to the command for @click? TIA

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

      You can still access livewire from an alpinejs click: @click="$wire.myFunction"
      Using the $wire object, you can access all of your component's properties and functions
      Here are the docs for it: livewire.laravel.com/docs/alpine#controlling-livewire-from-alpine-using-wire

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

    Thank you very much professor. How can I do to start with the sidebar closed in small screens?

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

      I haven't looked at this code in a while but, If I'm not mistaken, the in resources/views/layouts/app.blade.php should have an AlpineJS directive like this
      x-data="{ open: false }"
      So, the initial state of the sidebar will always be closed in small devices.

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

    your voice was low and your music was loud in between. tired of adjusting my volume controls
    But, i like your videos. thank you

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

      Yes, I was still learning the ropes of sound and editing. Thanks for the feedback 👍🏻

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

    Thank you very much for the tutorial. You explained very well.

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

    Bien tuto

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

    Podrias subir el codigo del side bar?, gracias !

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

      Hola, bienvenido al canal! Voy a tratar de subir el código en un par de días. 👍🏻

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

      Acá lo tienes. Es una versión un poco mejorada, pero el concepto es el mismo
      github.com/tuto1902/laravel-sidebar

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

      Puedo cambiar los colores de la barra lateral

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

    the inset-y-0 wont work on my editor

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

      Interesting 🧐 what editor are you using?

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

    Hi, can I ask is there any chance that you were able to test this demo on desktop browser perspective?

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

      I did test it on my browser on desktop, yes.

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

      @@Tuto1902 is the close button clickable when you test it on full view of desktop browser? Because I did do the same thing as what you coded and the close is not clickable it is static only.

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

      Would you mind checking if there's any errors in the browser's developer console? It could be a problem with AlpineJS. I just reviewed and the button should be clickable in any view. The only reason I can think of for it not to work is some error in Javascript (or AlpineJS in this case). One other problem could be the version of laravel. If you are working with v 9.x or above, then you are using Vite to compile local assets. This video was created with an earlier version of laravel, which uses webpack (aka. laravel mix). You can watch this other video to learn more about Vite ruclips.net/video/9OiBlZ2w0S4/видео.html
      I hope this helps.

  • @YoRHa_-
    @YoRHa_- Год назад

    where's the source code?

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

      right here 👉🏻 github.com/tuto1902/laravel-sidebar