CSS styles in production
None of my css stylies are making it into production. I've got a vanilla esbuild.conf.js, post.config.js from jumpstart repo. The build:css and build script in pacakage.json is identical to ones in jumpstart repo. What else should I check? I checked the various env files ( config/environments/production.rb) and it's pretty much the same as the jumpstart repo, what should I check next? I'm kinda at my wits end on this and now have a shitty looking site in production :D
Note: I am running rails 7 and am updated with the latest release of jumpstart-pro.
Any help greatly appreciated!
Note: I am running rails 7 and am updated with the latest release of jumpstart-pro.
Any help greatly appreciated!
Running into the same issue! All my CSS works like a charm on my local machine, but then when I deploy it looks awful.
I've tried every combo of assets compile/clobber. It's like tailwindcss is just not getting built but everything else is. Gah!
EDIT: I figured it out after checking the Issues log in the repo. Found this: https://github.com/jumpstart-pro/jumpstart-pro-rails/issues/229
Apparently, I was importing a style for the gridstack library in a stimulus controller and that's a no-no!
I've tried every combo of assets compile/clobber. It's like tailwindcss is just not getting built but everything else is. Gah!
EDIT: I figured it out after checking the Issues log in the repo. Found this: https://github.com/jumpstart-pro/jumpstart-pro-rails/issues/229
Apparently, I was importing a style for the gridstack library in a stimulus controller and that's a no-no!
Notifications
You’re not receiving notifications from this thread.