PolymerElements / iron-icons

A set of icons for use with iron-icon
https://www.webcomponents.org/element/PolymerElements/iron-icons
105 stars 61 forks source link

Demo code is not working #95

Open NickdeK opened 5 years ago

NickdeK commented 5 years ago

Description

Following the instructions on the setup page doesn't show the icon.

Expected outcome

Following the instructions exactly should show the demo icon.

Actual outcome

Element is rendered and styling is applied but icon is not showing.

Live Demo

Don't have a live demo, no online editor is available?

Steps to reproduce

  1. Recreate the demo page from iron-icons

Browsers Affected

Solution / workaround

The import lines are sorted wrong, iron-icons should be loaded first and iron-icon second.

<script type="module">
    import '@polymer/iron-icon/iron-icons';
    import '@polymer/iron-icons/iron-icon';
  </script>
rbalet commented 4 years ago

Still not working