Nuxt/packages/vue-app/template/components/nuxt-link.js
2018-10-31 00:12:53 +03:30

9 lines
183 B
JavaScript

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