ank5
asked on
Bootstrap 3 icons not loading after Angular 5 upgrade
I have upgraded my application from Angular 4 to Angular 5. After the upgrade the glyphicon icons are not showing up
In the browser console, this error is displayed
I continue to use the same version of bootstap v3.3.7 and it is also included in angular-cli.json (no changes here as well)
Is there something else that needs to be done in order to make the icons work? Other bootstrap styling is working fine.
<span class="glyphicon glyphicon-user" style="cursor:pointer"></span>
In the browser console, this error is displayed
I continue to use the same version of bootstap v3.3.7 and it is also included in angular-cli.json (no changes here as well)
"styles": [
"../node_modules/bootstrap/dist/css/bootstrap.min.css",
"../node_modules/ngx-toastr/toastr.css",
"../node_modules/ngx-bootstrap/datepicker/bs-datepicker.css",
"styles.css"
],
Is there something else that needs to be done in order to make the icons work? Other bootstrap styling is working fine.
Apparently there's a typo in the path to the font file somewhere in one of the stylesheets. So search them for "halflings-regular' and fix it manually.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIALMembers can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.