New Livewire Volt: Practical Example Component

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

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

  • @SinghatehAlagie
    @SinghatehAlagie Год назад +7

    I view Volt as a sibling to Vue or React since its approach is quite similar to both of them.

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

      That's what I was about tonsay, it feels like your working with those. Pretty good expectations from volt, tbh.

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

    Mostly, Volt usage would be on personal project, really might not be cool in an organisation project. I so much cheriched separing concerns

  • @DivyankKabra-fj8vj
    @DivyankKabra-fj8vj 6 месяцев назад

    Hello, I am facing a 404 error on production server when i perform any click event. I don't know why its happening can you please suggest what the issue behind this

  • @mahmoud-bakheet
    @mahmoud-bakheet Год назад +1

    I think if you are not using liveware as full page component is going to be helpful, but again small parts of code maybe bigger

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

    Great! I like it!

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

    Is anyone able to get php intelephense + blade highlighting using a S.F.C. Volt (class or functional API, no matter) + blade formatter working, using VsCode?

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

    this looks like vue, angular, react or modern front end frameworks approach

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

    Thanks

  • @devtube734
    @devtube734 10 месяцев назад

    How can I define a variable inside Livewire Volt Blade area like regular blade file
    Here is my full component.
    want to assign value to `$hello` variable.
    However, unable to assign variable
    ```php
    {{ $hello }}
    this is volt component {{ $count }}
    click
    ```

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

    indeed, it looks like Vue or Svelte code

    • @mahmoud-bakheet
      @mahmoud-bakheet Год назад +1

      I'm not sure about putting code and HTML in same place

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

      Me neither

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

      @@mahmoud-bakheet its like putting javascript into html, like jsx

  • @eng.owis.
    @eng.owis. Год назад +8

    I'm really disappointed with livewire volt . Why does laravel try to return back to old code style ! I really love laravel because clean code now we go to spaghetti style

    • @Heatedpillow
      @Heatedpillow Год назад +7

      1000% agree!

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

      But, you don’t have to use it if you don’t like it, for full stack developers this is nothing new. Vue has been written like this as well

    • @eng.owis.
      @eng.owis. Год назад

      @@domagojfranc7824 thanks , i'll not , i don't use any technical approach like this at all just if it's a backages i do not need to see it's code . Separate code based on language is an initial point of start when i choose the project path .
      Livewire did a great job for me as a full stack developer because I hate JavaScript because it's code style there is no way to be good

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

      That's the point...

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

    The only reason why I don't use livewire anymore is because it is waay too slow

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

      What project are you building with livewire? ...
      I built a student portal for a client and seems pretty fast to me ...
      It's slower in development but fast in production

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

      @@joydeepbhowmik6181 maybe it's the way I'm using livewire, but I always use javascript too, so I do alot off calls from javascript to livewire and vice versa, so that could be the reason it's slow for me. Also I'm working on a pretty big project so that also doesn't optimize the speed

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

      @@joydeepbhowmik6181 don't use XAMMP in production HAHA!