要在Angular CLI 8.2.2中显示Themify图标,您需要执行以下步骤:
npm install themify-icons
angular.json
文件中,找到architect -> build -> options -> styles
属性。在这个数组中,添加Themify图标的CSS路径。例如:"styles": [
"node_modules/themify-icons/css/themify-icons.css",
"src/styles.scss"
]
这是一个使用Themify图标的示例。您可以将ti-home
替换为您想要使用的任何Themify图标类。
ng serve
现在,您应该能够在Angular CLI 8.2.2中显示Themify图标了。