mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-04 19:37:18 +00:00
18 lines
330 B
JavaScript
18 lines
330 B
JavaScript
import Vue from 'vue'
|
|
|
|
<%= isTest ? '// @vue/component' : '' %>
|
|
export default {
|
|
name: 'NuxtLink',
|
|
extends: Vue.component('RouterLink'),
|
|
props: {
|
|
prefetch: {
|
|
type: Boolean,
|
|
default: <%= router.prefetchLinks ? 'true' : 'false' %>
|
|
},
|
|
noPrefetch: {
|
|
type: Boolean,
|
|
default: false
|
|
}
|
|
}
|
|
}
|