We've moved discussions to Discord

Jumpstart Config page not loading CSS?

Jeff Mueller
I just pulled in the latest changes from Jumpstart, and now my Jumpstart Config pages look like they aren't loading all of the required CSS. I've tried server restarts, other browsers, clearing my cache, incognito mode, but nothing's working. Anyone have any ideas as to what might be causing this? Thanks!

Screen Shot 2021-07-05 at 1.58.53 PM.png 238 KB
Jeff Mueller
It's worth noting that I'm seeing this behavior on the main Jumpstart branch, too. Current hash for that branch is a37bac7.
Jeff Mueller
More digging. Git bisect showed that commit d2168826df3cec4f659539769844f6296c6031a8 introduced the issue. I added a line back to the Tailwind config file, and all is well now.

The `purge` config in app/javascript/stylesheets/tailwind.config.js should include the './**/*.html.erb', line at the start:

  purge: {
    enabled: ["production", "staging"].includes(process.env.NODE_ENV),
    content: [
      './**/*.html.erb',
      './app/helpers/**/*.rb',
      './app/javascript/**/*.js',
      './app/views/**/*.erb',
    ],
  },
Guilherme Yamakawa de Oliveira
Thanks Jeff. I had the same problem.
Notifications
You’re not receiving notifications from this thread.