Skip to content

Commit 25ba798

Browse files
Minor fixes to KO template (bundling config and menu styling)
1 parent 515c659 commit 25ba798

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

templates/KnockoutSpa/ClientApp/components/nav-menu/nav-menu.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,17 @@
1313
<div class='navbar-collapse collapse'>
1414
<ul class='nav navbar-nav'>
1515
<li>
16-
<a class='navbar-brand' href='/' data-bind='css: { active: route().page === "home-page" }'>
16+
<a href='/' data-bind='css: { active: route().page === "home-page" }'>
1717
<span class='glyphicon glyphicon-home'></span> Home
1818
</a>
1919
</li>
2020
<li>
21-
<a class='navbar-brand' href='/counter' data-bind='css: { active: route().page === "counter-example" }'>
21+
<a href='/counter' data-bind='css: { active: route().page === "counter-example" }'>
2222
<span class='glyphicon glyphicon-education'></span> Counter
2323
</a>
2424
</li>
2525
<li>
26-
<a class='navbar-brand' href='/fetch-data' data-bind='css: { active: route().page === "fetch-data" }'>
26+
<a href='/fetch-data' data-bind='css: { active: route().page === "fetch-data" }'>
2727
<span class='glyphicon glyphicon-th-list'></span> Fetch data
2828
</a>
2929
</li>

templates/KnockoutSpa/webpack.config.vendor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ module.exports = {
1515
]
1616
},
1717
entry: {
18-
vendor: ['bootstrap', 'bootstrap/dist/css/bootstrap.css', 'knockout', 'crossroads', 'hasher', 'style-loader', 'jquery'],
18+
vendor: ['bootstrap', 'bootstrap/dist/css/bootstrap.css', 'knockout', 'crossroads', 'history', 'style-loader', 'jquery'],
1919
},
2020
output: {
2121
path: path.join(__dirname, 'wwwroot', 'dist'),

0 commit comments

Comments
 (0)