Demo code is not working
NickdeK opened this issue · comments
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
- 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>
Still not working