mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-14 10:04:05 +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
|
|
}
|
|
}
|
|
}
|