|
@@ -7,6 +7,7 @@ export default React.createClass({
|
|
<div>
|
|
<div>
|
|
<h1>React Router Tutorial</h1>
|
|
<h1>React Router Tutorial</h1>
|
|
<ul role="nav">
|
|
<ul role="nav">
|
|
|
|
+ <li><NavLink to="/" onlyActiveOnIndex>Home</NavLink></li>
|
|
<li><NavLink to="/about">About</NavLink></li>
|
|
<li><NavLink to="/about">About</NavLink></li>
|
|
<li><NavLink to="/repos">Repos</NavLink></li>
|
|
<li><NavLink to="/repos">Repos</NavLink></li>
|
|
</ul>
|
|
</ul>
|