Polymer 1.0 default icon set in iron-icons not working using blaze (meteor) templating engine

前端 未结 3 1656
暖寄归人
暖寄归人 2021-01-02 05:27

After upgrading to Polymer 1.0, default iron-icons set is not working. I am trying to use home icon from the default icon set.

HTML code fragment:

           


        
3条回答
  •  爱一瞬间的悲伤
    2021-01-02 06:11

    I had same issue. Seems to be related to . Try to replace it with meanwhile (I quickly reproduced your code and it worked for me: at least your home-icon is showing up corrrectly now). Maybe someone else has another comment on this issue.

    Hence, your HTML:

    
      
            
              
    Social Feed
    2 Unread FB Posts

    The not showing within the button, though (or maybe try styling button -> enlarge, etc ... and fiddle around a bit). Hope this helps meanwhile anyway as a quick workaround ....

    Polymer 1.0 rocks, though. Worth the effort .... good job from the Polymer Team, thanks. Lucky us .... :-)

    Just tried it the other way around, putting the icon-button inside the :

    
       
      
        
    Social Feed
    2 Unread FB Posts

提交回复
热议问题