Nuxt/lib/app/components/nuxt-link.js
2016-12-16 17:45:47 +01:00

10 lines
166 B
JavaScript

import Vue from 'vue'
export default {
name: 'nuxt-link',
functional: true,
render (h, { data, children }) {
return h('router-link', data, children)
}
}