Vue And Vite With Hot Reloading In Ruby On Rails 7

  Рет қаралды 6,691

Deanin

Deanin

Күн бұрын

Пікірлер: 30
@Deanin
@Deanin 2 жыл бұрын
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 жыл бұрын
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 жыл бұрын
@@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 жыл бұрын
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 жыл бұрын
Watching from Nairobi, Kenya. Thanks for sharing quality tutorials.
@sampower4275
@sampower4275 2 жыл бұрын
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!!!
@Noah-sz1oy
@Noah-sz1oy 2 жыл бұрын
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 жыл бұрын
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!
@GG-bv4ou
@GG-bv4ou 2 жыл бұрын
This is the way! Let's make rails cool again 😁
@Metoit
@Metoit 2 жыл бұрын
Another Dean classic.
@XavierRahl
@XavierRahl 2 жыл бұрын
Recently found Your channel, and this is nice content.
@zaircodedev
@zaircodedev Жыл бұрын
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?
@azizdevfull
@azizdevfull 2 жыл бұрын
super !
@KrishnaDiamesso
@KrishnaDiamesso Жыл бұрын
Thanks, a bunch for this. 👍
@azizdevfull
@azizdevfull 2 жыл бұрын
can you make a CRUD system and user registration video with vite ruby plz?
@salomaonovacena6198
@salomaonovacena6198 2 жыл бұрын
Hey Deanin, it would be great if you could make a simple system with vite ruby. Great job, congratulations
@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
@mikopiko
@mikopiko 2 жыл бұрын
Love this
@sayf3446
@sayf3446 2 жыл бұрын
Would state management with Pinia work with this, I wonder...
@leonardoalbornoz3075
@leonardoalbornoz3075 Жыл бұрын
Hello! How would yo handle routing with this approach?
@salomaonovacena6198
@salomaonovacena6198 2 жыл бұрын
Deanin how deploy rails 7 and vite. possible?
@siyaram2855
@siyaram2855 2 жыл бұрын
Deanin can you please come up with a video for vanilla Rails project (monolith) live reload. PLEASE 🙏🙏
@scorchsc
@scorchsc 2 жыл бұрын
Hello how can I pass the data from the rails models and controllers to this?
@salomaonovacena6198
@salomaonovacena6198 2 жыл бұрын
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.
@KrishnaDiamesso
@KrishnaDiamesso Жыл бұрын
maybe next idea for content is rails and integrated nuxt
@inglesdicasdesafios9922
@inglesdicasdesafios9922 2 жыл бұрын
piggy
Free Professional Ruby On Rails 7 API Template
22:41
Deanin
Рет қаралды 4,1 М.
React SPA With JSX Using ESBuild In Ruby On Rails 7
14:03
Deanin
Рет қаралды 10 М.
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 22 МЛН
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 66 МЛН
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН
When To Use React Instead Of Hotwire In Rails 7?
17:30
Deanin
Рет қаралды 9 М.
Build an AI Chat With Ruby on Rails
15:41
Mix & Go
Рет қаралды 1,4 М.
Vite Crash Course | Faster Alternative To CRA
16:24
Traversy Media
Рет қаралды 217 М.
Running Multiple Databases In Ruby On Rails 7
12:28
Deanin
Рет қаралды 4,9 М.
Vue CRUD App With A Ruby On Rails 7 API Tutorial
22:17
Deanin
Рет қаралды 9 М.
LEARN GRAPHQL WITH VUE APOLLO IN 20 MINUTES!
23:38
Program With Erik
Рет қаралды 42 М.
Shopping Cart Order Sessions In Rails 7 With Turbo
26:21
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН