font awesome install in angular
npm install --save font-awesome angular-font-awesome
//once installed you will to import font awesome to your app.module.ts
import { AngularFontAwesomeModule} from 'angular-font-awesome';
//on your app.module.ts add AngularFontAwesomeModule under imports
imorts[
.../
AngularFontAwesomeModule,
],
"apps": [
{
"root": "src",
"outDir": "dist",
....
"styles": [
"styles.css",
"../node_modules/bootstrap/dist/css/bootstrap.css",
"../node_modules/font-awesome/css/font-awesome.css" // -here webpack will automatically build a link css element out of this!?
],
...
}
]
],
import { library } from '@fortawesome/fontawesome-svg-core';
import { fas } from '@fortawesome/free-solid-svg-icons';
import { far } from '@fortawesome/free-regular-svg-icons';
library.add(fas, far);
Also in C++:
- git push origin cannot be resolved to branch
- how to store git credentials
- git reset hard to remote
- uncompress tar
- install datetime
- mysql execute command from command line
- how to add a group windows powershell
- get ubuntu version
- How to discard files from stash in git
- install material icons
- which gpu do i have linux
- mongodb database not connected docker
- new terminal tab in linux
- how to install golang on ubuntu
- script to kill a process in windows
- list all hard drives linux
- install rspec rails 5
- docker run jenkins
- Permission denied (publickey) github error
- start shell on rosetta 2
- sslkeylogfile not working linux
- git check difference between local and remote
- install laravel specific version using composer
- cara uninstall di centos 7