Some ionizers not showing

I noticed that some of the icons that I use in my cordova project do not appear on any of my devices. Those that don't work seem to have the name ios or android in the name of the icon (for example: ion-android list or ion-book scheme). Any ideas why they just appear blank? So far, any icon that I used with a common name works fine (for example, an ion clock, an ion map). The names of the names I get from here are: ionicons

I have included this in my index.html file:

<link href="lib/ionic/css/ionic.css" rel="stylesheet">
+4
source share
4 answers

-, ionic start CMD v1.5.2 ( v2.0.0).

  • , .
  • /fonts 4 www/lib/ionic/fonts ().
  • scss www/lib/ionic/scss/ionicons ().
  • , ionicons.css zip /css/ionicicons.css www/lib/ionic/css/ionicons.css(. , 1500 - 2000 , )
+8

, Ionic, .

Ionic, Ionicons v2:

  • /config/lib/fonts /scss/ionicons /www/lib

  • , gulp: npm install gulp

  • ionic setup sass (: ionic.project, )

  • /www/lib/ionic/css /www/css ( ).

  • : .. /lib/ionic/fonts ../fonts

, , . - , .


:

Ionicons v2 (ion-spinner ). , :

https://github.com/driftyco/ionicons/issues/111#issuecomment-65788526

display:inline-block Android.

+2

:

<ion-spinner></ion-spinner>

:

+1

. :

www/ionic/fonts www/ionic/scss/ionicons.

ionic lib update .

+1

Source: https://habr.com/ru/post/1569881/


All Articles