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

8 lines
143 B
JavaScript
Raw Normal View History

2016-12-16 16:45:47 +00:00
export default {
name: 'nuxt-link',
functional: true,
render (h, { data, children }) {
return h('router-link', data, children)
}
}