Platform: v3.3 Icons not showing in backend panel

Summary of issue

Icons are not showing in admin panel. Some error are showing in the Console.

chrome_2017-11-14_15-17-22

Steps to reproduce

Install a fresh Asgard v3.3 and visit the backend admin panel.

System Details

  • Operating System: Windows 10 Pro
  • PHP Version: 7.1.6
  • Laravel Version: 5.5.x
  • Asgardcms/Platform version: 3.3.x

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 34 (12 by maintainers)

Most upvoted comments

Dears, Try this, it used work with me

For Laravel >= 5.5

Run npm install font-awesome --save
Add @import "~font-awesome/scss/font-awesome.scss"; in resources/assets/saas/app.scss
Run npm run dev (or npm run watch or even npm run production)

https://stackoverflow.com/questions/43451509/how-to-install-font-awesome-in-laravel-mix

Looking at code I found an easy way to switch local assets with CDN ones, without touching Blade templates. Go to config/asgard/core/core.php file and look for the “admin-assets” array. Replace your local asset (i.e. 'font-awesome.css' => ['theme' => 'vendor/font-awesome/css/font-awesome.min.css'],) with a CDN one ('font-awesome.css' => ['cdn' => 'https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css'],)

The solution for me was to compile the assets for the adminlte theme

  • cd /Themes/Adminlte
  • npm install
  • npm run production

A fix was finally released regarding this issue.

Fontawesome is now being served via a cdn.

https://github.com/AsgardCms/Platform/releases/tag/3.5.2

The fork button is at the top right.

Dudes, i`ve manage to fix downloading the fonts on http://fontawesome.io/ and replacing it on /themes/adminlte/vendor/font-awesome/fonts

Hello, This is an annoying issue that I wasn’t able to fix even after re-installing fontawesome etc.

However, I’ve tried something new now, to remove the files, commit that, and re-add them via npm afterwards. This change is on the 3.0 branch and hopefully works now.