admin管理员组文章数量:1125100
TLDR: playground showing the issue:
I ran up in a following situation: the UI library that we want to migrate to doesn't have any tooltip directive, but it does have the component for tooltips. I need it desperately, so I can't just go with components. In order to have only a single source of truth, I decided to implement the directive using the component tooltip component from our new UI library.
Everything was smoothly, until I needed to write something like this:
<div v-tooltip="'Tooltip content'">
<SomeComponent tooltipText="Another tooltip" />
</div>
SomeComponent.vue
<template>
<!-- ... -->
<div v-tooltip="tooltipText">
本文标签:
vuejsVue with render functions failed to resolve directiveStack Overflow
版权声明:本文标题:vue.js - Vue with render functions: failed to resolve directive - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人,
转载请联系作者并注明出处:http://www.betaflare.com/web/1736651357a1946147.html,
本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论