This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div> | |
<button repeat.for="route of router.navigation" click.delegate="router.navigateToRoute(route.config.name)">${route.title} ${route.isActive}</button> | |
</div> | |
<h1>Aurelia Menu with Child Routes example</h1> | |
<div> | |
<router-view></router-view> | |
</div> | |
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<nav class="navbar navbar-default navbar-fixed-top"> | |
<div class="container-fluid"> | |
<ul class="nav navbar-nav"> | |
<li><a href="#/home">Home</a></li> | |
<li><a href="#/square">Square</a></li> | |
<li><a href="#/circle">Circle</a></li> | |
</ul> | |
</div> | |
</nav> |