wire-elements / spotlight

Livewire component that brings Spotlight/Alfred-like functionality to your Laravel application.
MIT License
912 stars 71 forks source link

Automatic deployment and problem with css #69

Closed rudolfbruder closed 2 years ago

rudolfbruder commented 2 years ago

Hi,

I am trying this package out locally and it works flawlessly, however when we run automatic deployment on our server this is how it looks:

image

Showing the console takes whole screen like some css was not built. When I manually run npm run prod on the vps all is good. Dont you know what might be wrong? Other css and js in the project works just fine.

PhiloNL commented 2 years ago

It seems that CSS classes are purged. Can you try and whitelist './vendor/wire-elements/spotlight/**/*.blade.php', in your Tailwind CSS config?