fix: RouterLink import

This commit is contained in:
pooya parsa 2020-07-16 11:40:48 +02:00
parent fd0a437adc
commit 00e13c3e41

View File

@ -1,11 +1,11 @@
// import { h, defineComponent } from 'vue'
import { Link } from 'vue-router'
import { RouterLink } from 'vue-router'
// const NuxtLink = defineComponent({
// extends: Link
// })
export default function components ({ app }) {
app.component('NuxtLink', Link)
app.component('NLink', Link) // TODO: deprecate
app.component('NuxtLink', RouterLink)
app.component('NLink', RouterLink) // TODO: deprecate
}