Closed raviroshanmehta closed 1 year ago
After facing above issue i reinstalled backpack using php artisan backpack:install
with default coreui theme. Eveything installed again but assets load issue still exists as referred in below screenshots.
@tabacitu any quick work around for this ?
@raviroshanmehta is it possible you don't have your APP_URL set up correctly in your .ENV
file?
@raviroshanmehta is it possible you don't have your APP_URL set up correctly in your
.ENV
file?
This ☝️ or missing permissions to write in the storage/
folder or missing php artisan storage:link
Issue was with APP_URL.
Laravel's default APP_URL is http://localhost . After updating APP_URL to http://127.0.0.1:8000 everything is working as expected.
Thanks @tabacitu for saving hours of efforts of developers for admin development.
I downloaded new Laravel v10 and installed backpack v6. i can see assets urls are wrong in the theme and assets are not loading properly.
In config/backpack/ui.php i updated the name space -
'view_namespace' => 'backpack.theme-tabler::', 'view_namespace_fallback' => 'backpack.theme-tabler::',
Below screenshot will be helpful to understand the issue.