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

Friedrich's avatar

How to DEPLOY a laravel project with tailwind in HEROKU?

Can someone deploy a laravel app with tailwind how to deploy it properly?

0 likes
8 replies
kaiserkais's avatar

nothing change like without tailwind build the project and deploy it

1 like
Friedrich's avatar

@kaiserkais when i try to deploy to heroku the error thrown public/manifest.json production missing something like that so i think npm run dev or the tailwind need to run in deployment i already did the npm run build

Sinnbeck's avatar

I suggest you compile assert locally and then upload them with the rest of your files (if using git, then commit them to git)

1 like
Sinnbeck's avatar
Sinnbeck
Best Answer
Level 102

@Friedrich sure

  1. Run npm run build
  2. Upload files to heroku (just assuming you are using ftp as you haven't given any information)
1 like

Please or to participate in this conversation.