1
0
mirror of https://github.com/nuxt/nuxt.git synced 2025-02-24 09:28:41 +00:00
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)
}
}