title: How to Move from one page to another in ionic 4?
body: <p>I want to move from 1 page to another page and for that I have write below code in <code>home.page.html</code> file.</p>
  <pre class="lang-html prettyprint-override"><code>&lt;div style=&quot;display: flex; justify-content: center; margin-top: 20px; margin-bottom: 20px;&quot;&gt;
      &lt;ion-button (click)=&quot;goToLoginPage()&quot; size=&quot;large&quot;&gt;Continue&lt;/ion-button&gt;
  &lt;/div&gt;
  </code></pre>
  <p>Below is <code>home.page.ts</code> file code.</p>
  <pre class="lang-js prettyprint-override"><code>export class HomePage {
  
    constructor(public navController: NavController) {
  
    }
  
    goToLoginPage(){
      this.navController.navigateForward(LoginVCPage) // Getting error at this line.
    }
  }
  </code></pre>
  <p>Below is error screenshot.</p>
  <p><a href="https://i.stack.imgur.com/q4iQM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/q4iQM.png" alt="enter image description here" /></a></p>
  <p>Any help will be appreciated</p>