vue-bulma / tooltip

Tooltip Component for Vue Bulma
MIT License
15 stars 14 forks source link

TypeError: Cannot set property 'attrs' of undefined #4

Closed adambiggs closed 7 years ago

adambiggs commented 7 years ago

I tried following the readme example, but I keep getting TypeError: Cannot set property 'attrs' of undefined when trying to render <tooltip> components.

luventa commented 7 years ago

Did you change anything in tooltip? No matter what you put into the tooltip element, it must contains a class attr.

  <tooltip label="This is title" placement="top-right">
    <span class="a">top-right</span>
  </tooltip>

or

<tooltip label="top-right" placement="top-right">
  <button class="button is-primary has-text-centered">
    <span>top-right<a>test</a></span>
  </button>
</tooltip>