[Vuejs]-Nuxt js static pages relative URL change my link button

0👍

Your link have to be relative to the base URL of your app, see https://nuxtjs.org/api/configuration-router#base

So to fix your issue, declare your link with a starting slash as follows:

<nuxt-link to="/customer/new"> <b-button class="btn-sm btn-success" >nuevo</b-button></nuxt-link>

Leave a comment