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!
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.
@@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.
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.
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!!!
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?
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!
Is Stimulus not good enough?
I’d try poking head into InertiaJS for Rails. quite interesting
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.
@@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.
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.
Watching from Nairobi, Kenya.
Thanks for sharing quality tutorials.
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!!!
This is the way! Let's make rails cool again 😁
You really hit this one out of the park!
Thanks a lot, buddy. I needed that. You are awesome. Quick video with all we need to start the project.
This video was made for me 🙂, I have been waiting for something like this, thank you.
Happy to hear it! It took a while to figure out a way to make this work, but this solution seems pretty good!
super !
Another Dean classic.
Recently found Your channel, and this is nice content.
can you make a CRUD system and user registration video with vite ruby plz?
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?
Thanks, a bunch for this. 👍
Hey Deanin, it would be great if you could make a simple system with vite ruby. Great job, congratulations
Love this
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
Would state management with Pinia work with this, I wonder...
Deanin can you please come up with a video for vanilla Rails project (monolith) live reload.
PLEASE 🙏🙏
maybe next idea for content is rails and integrated nuxt
Hello! How would yo handle routing with this approach?
Deanin how deploy rails 7 and vite. possible?
Hello how can I pass the data from the rails models and controllers to this?
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.
piggy