Skip to content

Commit 97acfb1

Browse files
committed
Add Font Awesome
1 parent d401543 commit 97acfb1

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

angular-cli.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
"prefix": "app",
1919
"mobile": false,
2020
"styles": [
21-
"styles.sass"
21+
"styles.sass",
22+
"../node_modules/font-awesome/scss/font-awesome.scss"
2223
],
2324
"scripts": [],
2425
"environments": {
@@ -28,7 +29,9 @@
2829
}
2930
}
3031
],
31-
"addons": [],
32+
"addons": [
33+
"../node_modules/font-awesome/fonts/*.+(otf|eot|svg|ttf|woff|woff2)"
34+
],
3235
"packages": [],
3336
"e2e": {
3437
"protractor": {

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"@angular/router": "^3.3.1",
2424
"bootstrap-sass": "^3.3.7",
2525
"core-js": "^2.4.1",
26+
"font-awesome": "^4.7.0",
2627
"ng2-bootstrap": "^1.3.0",
2728
"rxjs": "^5.0.1",
2829
"ts-helpers": "^1.1.1",

src/app/app.component.html

+2
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@ <h1>
33
</h1>
44

55
<alert type="success">hello</alert>
6+
7+
<i class="fa fa-american-sign-language-interpreting fa-5x" aria-hidden="true"> </i>

0 commit comments

Comments
 (0)