最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Laravel backpack 6 unable to load theme tabler from CDN - Stack Overflow

programmeradmin1浏览0评论

I have been having issues for the past 24hours where my project (Laravel 11/ Backpack 6) are not able to fetch css from CDN. I noticed the issue in both local dev machine and my online staging server. Anyone experiencing the same issue? Any ideas? Seems like a CDN issue..

I have been having issues for the past 24hours where my project (Laravel 11/ Backpack 6) are not able to fetch css from CDN. I noticed the issue in both local dev machine and my online staging server. Anyone experiencing the same issue? Any ideas? Seems like a CDN issue..

Share Improve this question asked Nov 20, 2024 at 14:39 Tariiq DusmohamudTariiq Dusmohamud 637 bronze badges 2
  • Please add relevant code snippet – SuperDJ Commented Nov 20, 2024 at 15:43
  • There is no specific code, the problem is site wide – Tariiq Dusmohamud Commented Nov 21, 2024 at 4:02
Add a comment  | 

2 Answers 2

Reset to default 1

I can relate... the CDN is causing the issue. I'm experiencing the slow response. Here is how I solved it by caching it locally.

Add BASSET_DEV_MODE=false to your .env and run php artisan basset:cache.

This issue is indeed related to theme tabler. It can be fixed by uninstalling the theme with:

composer remove backpack/theme-tabler

and reinstalling it with:

composer require backpack/theme-tabler
发布评论

评论列表(0)

  1. 暂无评论