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

9 lines
183 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: 'nuxt-link',
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)
}
}