export default {
props: {
route: {
type: Boolean,
'default': false
}
},
render (h) {
return h(this.route ? 'nuxt-link' : 'a')
}
}
return h(this.route ? 'nuxt-link' : 'a')
return h(this.route ? { name: 'nuxt-link' } : 'a')
render function or template not defined in component: nuxt-link