etn-ccis / blui-icons

Brightlayer UI icons for Eaton applications. Includes design files, icon font, and svg icons
BSD 3-Clause "New" or "Revised" License
9 stars 7 forks source link

NG9 Support #64

Closed emclaug2 closed 4 years ago

emclaug2 commented 4 years ago

Describe the bug

Unable to render SVG icons following current instructions in a NG9 project.

What is the expected behavior?

Instructions for how to render our icons should work for NG9 and older versions.

What are the steps to reproduce?

  1. Create a new angular project using pxb-cli.
  2. Following the instructions on how to integrate svg pxblue icons.
  3. Observe that icon will not render and error occurs in console.

Screenshots or links to minimum reproduction example

image

Environment

Angular 9, version 1.0.2 of pxb-cli and latest version of icons package.

emclaug2 commented 4 years ago

Did angular change how to do icon registration in ng9?