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

9 lines
182 B
JavaScript
Raw Normal View History

2018-10-24 13:46:06 +00:00
<%= isTest ? '// @vue/component' : '' %>
2016-12-16 16:45:47 +00:00
export default {
name: 'NuxtLink',
2016-12-16 16:45:47 +00:00
functional: true,
2018-10-24 13:46:06 +00:00
render(h, { data, children }) {
2016-12-16 16:45:47 +00:00
return h('router-link', data, children)
}
}