Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

jhull's avatar
Level 3

Bootstrap styles not showing up in Production Server of Spark-ed App

Redid my app with Spark - worked great and looks great local. When I push up to server (Forge) - everything works except for some reason the Bootstrap styles aren't there -

My public/css/app.css is a mixture of tailwind and Bootstrap and I can actually see the styles from Tailwind working their way into the final product - but for some reason, the Bootstrap style--in the same exact file--just don't register.

Any ideas? I've been looking everywhere for an answer...

0 likes
1 reply
jhull's avatar
Level 3

I got it to work by running npm install on the production server. Not sure I understand the logic why, if I'm just pushing everything up from local to production, shouldn't that cover it?

Please or to participate in this conversation.