Detect external/(nuxt-link/router-link) by simple functional component. You can use the same component for each link type.
npm install vue-v-link
yarn add vue-v-link
import VLink from 'vue-v-link'
Vue.use(VLink)
Simple usage
<v-link to="/internal-page"> internal page </v-link>
<v-link to="https://google.com"> external page </v-link>
<v-link to="mailto:[email protected]"> mailto link </v-link>