title: framework7 demo login success,then how to router a list page
body: <ol>
  <li><p>In index.html with login form  </p>
  
  <p>
    
      ... login screen content ...
    </p>
  
  <p>
        
        
        
    
  </p></li>
  <li><p>When logged in successfully, how can I route another page and close (or hide) the current login page?</p>
  
  <pre><code>   mainView.router.load('default.html');
  </code></pre></li>
  </ol>
  
  <p>This script doesn't work.</p>