Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Demo code is not working #95

Open
8 tasks done
NickdeK opened this issue Nov 16, 2018 · 1 comment
Open
8 tasks done

Demo code is not working #95

NickdeK opened this issue Nov 16, 2018 · 1 comment

Comments

@NickdeK
Copy link

NickdeK commented Nov 16, 2018

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

  • Chrome
  • Firefox
  • Safari 9
  • Safari 8
  • Safari 7
  • Edge
  • IE 11
  • IE 10

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
Copy link

rbalet commented Mar 30, 2020

Still not working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants