Redirect to root when default route is called in the address bar
When a user type /home
in the address bar (default route), it should redirect to /
.
<sib-router default-route="home">
<sib-route name="home">home</sib-route>
<sib-route name="list">list</sib-route>
</sib-router>
<div id="home" hidden>
<h1>Home</h1>
</div>
<div id="list" hidden>
<h1>List</h1>
</div>