-
-
Notifications
You must be signed in to change notification settings - Fork 337
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: When Install package, the project becomes very heavy #1929
Comments
how about try clear the cache?
|
all method and php artisan config:cache , when remove package project become light |
I had this issue last week. running fine in local but when i push to production my app is very slow (before i install this package it runs fine) laravel-livewire-tables using blade-icons try: php artisan icons:cache in blade-icons documentation it says you should cache icons or your app will slow down. read this for more details doc: caching |
still same issue in local and production |
have you try this? check your
|
same with me, struggling with this issue for 1 week, already trying optimize:clear and optimize the issue still same when i open dev tools -> network tab -> it show the asset of laravel-livewire-tables like core.min.js etc took 2 second to load i'm trying to remove this package and boom my app run fine after that. So I thought this library had a problem until I found the problem, which was in the dependency library blade-icons and trying caching the assets and now it works fine |
Ah yeah, that is known issue #1375 Alternatively you can just manually import datatable assets using vite besides automatically injected assets |
What @danie-ramdhani said, bundle the assets via Vite, and it'll be speedy! Caching the blade icons is also sensible! @asmaa143 - please try bundling! I'd suggest also bundling Livewire itself, as it also provides some efficiencies. |
I was having the same problem, I tried the icons solution and it worked perfectly, very grateful. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
What happened?
When Install package, the project becomes very heavy
How to reproduce the bug
No response
Package Version
No response
PHP Version
None
Laravel Version
No response
Alpine Version
No response
Theme
None
Notes
No response
Error Message
No response
The text was updated successfully, but these errors were encountered: