-
Notifications
You must be signed in to change notification settings - Fork 12k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(docs): add how-to for Font Awesome inclusion #3898
Conversation
@jeremymwells love that! i just included font awesome in my angular cli app. boom diggity! uses angular material 2 and the new flex box release. https://github.com/ladyleet/ladyleet-material2 |
@jeremymwells Another way to add it is to just add it to the "styles": [
"styles.css",
"../node_modules/font-awesome/css/font-awesome.css"
] @ladyleet Why use FA instead of MD icons in a material2 project? |
@baruchvlz - very true. I had actually considered that. My thinking was that Font Awesome is an |
eb03eaa
to
84fc074
Compare
|
||
Install the `font-awesome` library and add the dependency to package.json... | ||
```bash | ||
npm install --save-dev font-awesome |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be --save
instead
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
|
||
Run `ng serve` to run your application in develop mode, and navigate to `http://localhost:4200`. | ||
|
||
To verify angular material has been set up correctly, change `src/app/app.component.html` to the following... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Font Awesome instead of angular material?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
be1c4e9
to
4db0106
Compare
4db0106
to
505d3ff
Compare
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
applies to #2711