title: How to go back on click of a button from the .vue without opening a new window?
body: <p>I'm trying to create a button that goes back to the login, or redirects to <code>/login</code>, currently I've tried doing it both with <code>el-button</code> and <code>inertia-link</code>, they both work but not how I would like. </p>
  
  <p>This is the code i've already tried to get the <code>inertia-link</code> to work:</p>
  
  <pre><code>&lt;el-button-group style="margin-left: 53%; margin-bottom: 10px"&gt;
      &lt;inertia-link class="el-button--info" :href="'/login'"&gt;
          &lt;i class="fas fa-chevron-left"&gt;&lt;/i&gt;
      &lt;/inertia-link&gt;
  
      &lt;el-button
          :type="getStatus()"
          :loading="loading"
          @click="submit()"&gt;Enviar Link
      &lt;/el-button&gt;
  &lt;/el-button-group&gt;
  </code></pre>
  
  <p>Code with <code>el-button</code>:</p>
  
  <pre><code>&lt;el-button-group style="margin-left: 53%; margin-bottom: 10px"&gt;
      &lt;el-button
          type="info"
          icon="fas fa-chevron-left"
          @click="redirect()"
  &gt;
      &lt;/el-button&gt;
  
      &lt;el-button
          :type="getStatus()"
          :loading="loading"
          @click="submit()"&gt;Enviar Link
      &lt;/el-button&gt;
  &lt;/el-button-group&gt;
  
  
  methods() {
      redirect(){ 
          window.open('/login');       
      }
  }
  </code></pre>
  
  <p>With the <code>inertia-link</code> it's ugly, the class doesn't look right if I just put <code>class="el-button"</code> it works but I need to add a el-button type as <code>info</code>, how I have it right now as <code>class="el-button--info"</code> it doesn't work. With the <code>el-button</code> it opens another tab, I want to stay on the same page, just go to the login page like the <code>inertia-link</code> does.</p>