Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

Ionicons not showing (alpha51 + ionicons3)

$
0
0

@lordgreg wrote:

Hi,

I've just updated my app to Ionic Alpha51 and installed ionicons through npm. I don't get any errors in logs, but the icons aren't showing at all.

tabs html:

<ion-tabs>
<ion-tab tab-icon="pulse" tab-title="Water" [root]="heroTab"></ion-tab>
<ion-tab tab-icon="calendar" tab-title="Life" [root]="heroTab"></ion-tab>
<ion-tab tab-icon="settings" tab-title="Fire" [root]="heroTab"></ion-tab>
<ion-tab tab-icon="pulse" tab-title="Force" [root]="heroTab"></ion-tab>
</ion-tabs>

package.json

"ionic-framework": "2.0.0-alpha.51",
"ionicons": "3.0.0-alpha.3",

inspecting element shows then:

<ion-icon class="tab-button-icon ion-md-undefined" role="img" aria-label="undefined"></ion-icon>

updated ionic.config.js:

sass: {
src: ['app/theme/app.+(ios|md).scss'],
dest: 'www/build/css',
include: [
'node_modules/ionic-framework',
'node_modules/ionicons/dist/scss'
]
},

what am I missing?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>