title: Vue - Remove baseUrl from home page
body: <p>I set baseUrl to &quot;/app&quot;, but I need to remove it when I click on home page. So when I click on home page instead of <code>emample.com/app</code> I need to get <code>emample.com</code>.</p>
  <pre><code>const router = new VueRouter({
    mode: &quot;history&quot;,
    base: process.env.VUE_APP_BASE_URL,
  </code></pre>
  <p>.env</p>
  <pre><code>VUE_APP_BASE_URL=/app
  </code></pre>