Nuxt/packages/app/template/components/nuxt-link.js
2018-10-24 17:16:06 +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)
}
}