Skip to content

Commit 135e264

Browse files
Example of adding font-awesome
1 parent e87aa1f commit 135e264

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

templates/Angular2Spa/ClientApp/app/components/navmenu/navmenu.component.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
</li>
2020
<li [routerLinkActive]="['link-active']">
2121
<a [routerLink]="['/counter']">
22+
<i class="fa fa-camera-retro"></i>
2223
<span class='glyphicon glyphicon-education'></span> Counter
2324
</a>
2425
</li>

templates/Angular2Spa/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
"aspnet-prerendering": "^1.0.6",
3737
"bootstrap": "^3.3.7",
3838
"es6-shim": "^0.35.1",
39+
"font-awesome": "^4.6.3",
3940
"isomorphic-fetch": "^2.2.1",
4041
"jquery": "^2.2.1",
4142
"preboot": "^4.5.2",

templates/Angular2Spa/webpack.config.vendor.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ module.exports = {
3030
'bootstrap/dist/css/bootstrap.css',
3131
'es6-shim',
3232
'es6-promise',
33+
'font-awesome/css/font-awesome.css',
3334
'jquery',
3435
'zone.js',
3536
]

0 commit comments

Comments
 (0)