Search Results for "how-i-use-esbuild-with-react-in-a-rails-7-app"

Lessons





















Forum Threads

How to use ESBuild in Rails with JSBundling Discussion

30
General
This is awesome, I have been using it for a couple of weeks now. I didn’t necessarily think webpacker was slow, except maybe on Heroku builds. But when you use this, you wonder why you put up with ...
Aaron replied

How to Remove Unused CSS Classes from Tailwind CSS, Boostrap, and more with PurgeCSS Discussion

12
General
How does this work with .haml templates instead of .erb?
Trevor Owens replied

How should I bundle stimulus_reflex with esbuild in Rails 7

3
Rails
When I use webpacker gem, it is so easy to install stimulus reflex using stimulus_reflex gem in Rails 6. But in Rails 7, some problems occurs as follows: ``` $ bundle add stimulus_reflex $ rails s...
Ole Torp replied

How to use Bootstrap with CSS bundling in Rails Discussion

28
General
Thanks for another great video. It's no wonder why I sometimes feel lost in the Rails ecosystem. I learned Rails using the asset pipeline, then it switched to using Webpacker which I never fully un...
Almas Asghar replied

Rails & Vue.js Trello Clone - Part 1 Discussion

34
General
Glad you decided to do this :)
don mclamb replied

Rails 7 -j esbuild —css bootstrap running into problems no importmap.rb file generated

1
Ruby
Hi Everyone, Going through the process of setting up a new rails project If I use rails new Rails generates a file importmap.rb in the config folder If I use rails new -j esbuild —css bootstrap ...
jesus12 replied

Esbuild

5
Rails
I'm trying to get away from Webpacker... Installed the gem JSBundling on a Rails 6.0.1.x app, followed the setup procedures to use EsBuild, and it worked. Got BootStrap 5 working with the guidance ...

How to upgrade from Turbolinks to Hotwire & Turbo Discussion

12
General
Hey Chris, thanks for going over Turbo and StimulusJS 2.0 changes, I'm really excited about using them in my projects! One really big thing that would be great to cover is using dialogs/modals wit...
Thomas Connolly replied

How To Use Importmaps With Rails Discussion

7
General
Are you using import maps yet?
Daniel Lee replied

How to Deploy Rails to Render Discussion

14
General
Great video, thanks Collin!
Emmaotiki5 replied

Live Reload with Esbuild in Rails using an EventSource Discussion

5
General
got it by googling "live reload esbuild rails", any idea on how to do it?
Tim Case replied

How to use jQuery & jQueryUI with Esbuild Discussion

16
General
If we're not using jQueryUI or any library that depends on jQuery, then are these lines enough by themselves? window.jQuery = jquery; window.$ = jquery;
Alex replied

How to Deploy Rails to Fly.io Discussion

8
General
Great. Sets up Docker which I didn't want to get into, so that's a great help. Trying it. Looks like $7/month with a Postgres db.
Stéphane Paquet replied

How do I find out why Stimulus controllers aren't getting compiled? Asset Pipeline problem

1
Javascript
I updated a Rails 6 app to Rails 7 and changed from Webpacker to esbuild/webpack. Added Stimulus, and after not getting controllers to work tried a basic hello_controller and then searched the appl...
Greg S replied

How to Add Pagination with Pagy Discussion

20
General
I couldn't have explained it better - even being the author of Pagy. Thank you!
Greg S replied

Vue.js Components in Rails Views Discussion

27
General
Nice video. What about Vue state managment in Rails. When one Vue component mess with state of another Vue component?
leoplct replied

Asset Pipeline

1
General
What are some excellent resources to get a good foundational understanding of asset pipeline, esbuild, import maps, js bundling. I have a decent knowledge of Rails, but I have trouble understanding...
Kentastic replied

How I do use Rails.ajax in vueJs components using webpacker in rails 6

2
Rails
I have created the brand new application in rails 6 with webpacker and VueJS. I am trying to use the `Rails.ajax` to send ajax request request from Vue component to rails controller. I have include...
Marco Beffa replied

How do I use Devise in normal AND API mode

0
Rails
Hi guys, I want to use Devise for creating users with mobile app via REST API but I also want use it in classic fashion. So in API I want to return JSON and appropriate HTTP codes. Also I want to i...
Jaroslav Horák posted