Nuxt/app/components/nuxt-link.js
2017-06-16 17:12:45 +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)
}
}