nuxt-link.server.js 330 B

1234567891011121314151617
  1. import Vue from 'vue'
  2. <%= isTest ? '// @vue/component' : '' %>
  3. export default {
  4. name: 'NuxtLink',
  5. extends: Vue.component('RouterLink'),
  6. props: {
  7. prefetch: {
  8. type: Boolean,
  9. default: <%= router.prefetchLinks ? 'true' : 'false' %>
  10. },
  11. noPrefetch: {
  12. type: Boolean,
  13. default: false
  14. }
  15. }
  16. }