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
I just upgraded an enterprise Rails 6 sprockets 3 app to rails 7, that used webpacker 4 built css and renders react components occasionally. It's about 8 years old so it was the craziest upgrade. I...

31
General
How to Remove Unused CSS Classes from Tailwind CSS, Boostrap, and more with PurgeCSS Discussion
How does this work with .haml templates instead of .erb?

13
General
How should I bundle stimulus_reflex with esbuild in Rails 7
Wondering the same thing - anybody?

4
Rails
How to use Bootstrap with CSS bundling in Rails Discussion
I have replace the webpacker with esbuild in my rails 7 project, js files are compiling but not working, and not getting any error.

29
General
Rails & Vue.js Trello Clone - Part 1 Discussion
Yeah, thankfully webpacker is no longer the way to go. Unfortunately Rails didn't pick just one option to replace it, they left it open ended.
Personally, I use esbuild with https://github.com/rai...

33
General
Rails 7 -j esbuild —css bootstrap running into problems no importmap.rb file generated
Although Rails does not come with Tailwind out of the box, this article will show you how to add Tailwind CSS to a new Ruby on Rails project ...

2
Ruby
How to upgrade from Turbolinks to Hotwire & Turbo Discussion
I'm wondering if adopting Hotwire means the end of webpacker in my Rails application, as webpacker is pretty heavy lifting considering the scant js I use. So is it back to the asset pipeline and pr...

13
General
How to Deploy Rails to Render Discussion
After executing the following I was still running into failed deployments as above:
bundle lock --add-platform x86_64-darwin
bundle lock --add-platform x86_64-linux
This fixed it for me:
bundle ...

14
General
Live Reload with Esbuild in Rails using an EventSource Discussion
I found the downside with this approach is that if you include certain npm packages it will cause a problem with esbuild that results in some insane memory usage. You'll fly through 10s of gigs of ...

6
General
How to use jQuery & jQueryUI with Esbuild Discussion
This worked for me with select2 :
import select2 from "select2"
window.select2 = select2();

15
General
How to Deploy Rails to Fly.io Discussion
did you try deploying using sqlite?

9
General
How to Add Pagination with Pagy Discussion
Thanks. Got working without any problems with Rails 7.0.1, Ruby 3.1.0, esbuild and Bootstrap
@newbie. Did you create ` in config/initializers/pagy.rb' in the right place? Restart server?

21
General
Vue.js Components in Rails Views Discussion
Could you post how to migrate for Rails 7 + Esbuild?
I tried but I got
Failed to mount app: mount target selector "app" returned null.

28
General
How I do use Rails.ajax in vueJs components using webpacker in rails 6
Good :-)

3
Rails
How do I use Devise in normal AND API mode
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...

1
Rails
How to use Bootstrap with Webpack & Rails Discussion
Also going to add that I had issues with the tooltips triggering after I left the page and came back so to help with any conflicts with Turbolinks I changed addEventLstener to:
document.addEventL...

51
General