Nuxt/packages/vue-app/template/components/nuxt-link.js

9 lines
182 B
JavaScript

<%= isTest ? '// @vue/component' : '' %>
export default {
name: 'NuxtLink',
functional: true,
render(h, { data, children }) {
return h('router-link', data, children)
}
}