FontAwesome support for PrimeNG
Recently sometime back PrimeNG replaced fontawesome icons with new PrimeIcons. PrimeIcons is recently started and it may take some time to get all the required icons but FA has around 4k icons. If the existing projects which already using FA may break with these changes. Is there any support or workaround to continue FA for sometime?
Author,Speaker
https://twitter.com/sudheerjonna
Github: https://github.com/sudheerj
Website http://sudheerjonna.com/
___________________
Sudheer Jonna
https://twitter.com/sudheerjonna
Github: https://github.com/sudheerj
Website http://sudheerjonna.com/
___________________
Sudheer Jonna
I believe the font-awesome icons will still work in your projects as long as you (1) keep the "node_modules/font-awesome/css/font-awesome.min.css" style set in .angular-cli.json, and (2) reference all font-awesome icons preceded by the 'fa' designator:
<button pButton type="button" label="Copy" icon="fa fa-clipboard"></button>
-
- Information
-
Who is online
Users browsing this forum: No registered users and 15 guests