Jumpstart Config page not loading CSS?
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!
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',
],
},
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',
],
},
Notifications
You’re not receiving notifications from this thread.