Nuxt/lib/app/components/nuxt-link.js
2017-06-18 12:06:00 +04:30

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)
}
}