title: how to not rendering back to homepage when in login form?
body: <p>I have some problem in Single Page application , when I rendering to login form , and when I refresh my page, it return  to homepage again, how to block the page to stay in login form  when when it is refreshed ?</p>
  
  <p>this is my homepage </p>
  
  <pre><code>&lt;template id="" v-if="page.homepage"&gt;
        &lt;div class="container "&gt;
         &lt;h1&gt; Homepage &lt;/h1&gt;
    &lt;/div&gt;
  &lt;/template&gt; 
  </code></pre>
  
  <p>my login:</p>
  
  <pre><code>  &lt;template id="" v-if="page.login"&gt;
                &lt;div class="container "&gt;
                 &lt;h1&gt; Login &lt;/h1&gt;
            &lt;/div&gt;
          &lt;/template&gt; 
  </code></pre>
  
  <p>and my method is</p>
  
  <pre><code>loginButton(){
     this.page.homepage = false
     this.page.login = true
  }
  </code></pre>
  
  <p>when I try to refresh it, and keep to back to homepage, I really get stuck from yesterday for this :(</p>