Nuxt/lib/app/components/nuxt-link.js

10 lines
166 B
JavaScript
Raw Normal View History

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