mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-21 21:25:11 +00:00
fix: RouterLink import
This commit is contained in:
parent
fd0a437adc
commit
00e13c3e41
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user