Vue And Vite With Hot Reloading In Ruby On Rails 7

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

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

  • @Deanin
    @Deanin  2 года назад +10

    Finally managed to get this working in a way that I feel good about sharing. This feels really polished once it's set up.
    So join me once again in avoiding all things Stimulus in favor of JavaScript frameworks!

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

      Is Stimulus not good enough?

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

      I’d try poking head into InertiaJS for Rails. quite interesting

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

      Dean, thanks for putting together a comfortable way to combine Vue and Ruby on Rails. This is a possible way to help the web feel more like a modern, local app.

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

      @@Way_Of_The_Light Stimulus is a good, light approach. Having a way to use Vue with Rails allows the Rails community to tap into the experience of another developer community, gain their experience, and stay fresh.

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

      I like the way Vue is structured, I have never used it before. The real question is in a rails environment is this anyless of a nightmare to setup than React.

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

    Watching from Nairobi, Kenya.
    Thanks for sharing quality tutorials.

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

    Learned Rails almost 10 years ago as my first fullstack framework (took a bootcamp and bashed my head against the wall repeatedly using the Michael Hartl tutorial), now trying to get caught up with how to use Rails with the next gen of JS frameworks. Thanks so much for posting this!!!

  • @GG-bv4ou
    @GG-bv4ou 2 года назад +3

    This is the way! Let's make rails cool again 😁

  • @Noah-sz1oy
    @Noah-sz1oy 2 года назад +3

    You really hit this one out of the park!

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

    Thanks a lot, buddy. I needed that. You are awesome. Quick video with all we need to start the project.

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

    This video was made for me 🙂, I have been waiting for something like this, thank you.

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

      Happy to hear it! It took a while to figure out a way to make this work, but this solution seems pretty good!

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

    super !

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

    Another Dean classic.

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

    Recently found Your channel, and this is nice content.

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

    can you make a CRUD system and user registration video with vite ruby plz?

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

    I'm using Vite with React, but I have a problem: every time there's a change, it downloads all the JavaScript files, including the ones from the libraries, and I end up with about 30 JavaScript files for the entire frontend. This happens every time it reloads. Do you have any ideas on how to solve this?

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

    Thanks, a bunch for this. 👍

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

    Hey Deanin, it would be great if you could make a simple system with vite ruby. Great job, congratulations

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

    Love this

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

    Thanks for the video! I've implemented everything here and it seems to work fine, but I can't seem to be able to pass props

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

    Would state management with Pinia work with this, I wonder...

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

    Deanin can you please come up with a video for vanilla Rails project (monolith) live reload.
    PLEASE 🙏🙏

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

    maybe next idea for content is rails and integrated nuxt

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

    Hello! How would yo handle routing with this approach?

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

    Deanin how deploy rails 7 and vite. possible?

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

    Hello how can I pass the data from the rails models and controllers to this?

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

      Scorch, I believe that if you use fetch or axios, you can receive the json response made in the controller. as if it were an api.

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

    piggy