Example Rails 7 project with esbuild, SSR and Tailwind CSS #1308
ganchdev
started this conversation in
Show and tell
Replies: 2 comments 1 reply
-
Beta Was this translation helpful? Give feedback.
0 replies
-
@naft-a
Shakapacker supports https://github.com/shakacode/shakapacker#esbuild-loader-configuration. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all!
I've been thinking of giving this gem a shot for a new project I'm working on, so I decided to dive in and set it all up myself! I'm pretty happy about the result and how straightforward
react-rails
is for server-side rendered React, so I'm going to share this:Example Project Repository
⬆️ This is the example project, and I've added some notes about what's being used.
Initially, I wanted to try to get it up and running with Vite, but encountered some weird issues with the
vite-ruby
gem, so I went for esbuild (viajsbundling-rails
) instead, which is just as good (and standard now) for new Rails apps. Anything is better than Webpack in the end, and I'm glad I didn't have to fall back to it this time.I'm open to questions and suggestions on how to improve it.
Beta Was this translation helpful? Give feedback.
All reactions