yuche / vue-strap

Bootstrap components built with Vue.js
http://yuche.github.io/vue-strap/
MIT License
4.71k stars 935 forks source link

A typo which causing Vue compiling error! #472

Closed EazyServer closed 7 years ago

EazyServer commented 7 years ago

Forgot to mention this is a 2 commits PR! One to fix the typo and the second one suggest using 'v-html' to set the contents instead of using curly "{{}}" setter!

Thanks again

Sent from my iPhone

On 31 Mar 2017, at 13:17, shaoxiong789 notifications@github.com wrote:

Merged #472.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

JhonMr commented 7 years ago

The error is still after changed '{{{content}}}' to 'v-html="content"' and then rebuild the project.why?

EazyServer commented 7 years ago

Because the the project author has not created a release after this merge yet! I hope he/she does so soon.

shaoxiong789 commented 7 years ago

already build and merge this!

ricardoorellana commented 6 years ago

Guys it seem this issue has not been fixed yet, I have tried to use Tooltip component and I got the same error:

<span v-el:trigger>
    <slot></slot>
    <div v-el:popover v-if="show" style="display:block;"
      :class="['tooltip',placement]"
      :transition="effect"
    >
      <div class="tooltip-arrow"></div>
      <div class="tooltip-inner">
        <slot name="content">{{{content}}}</slot>
    </div>
    </div>
  </span>
- invalid expression: {{{content}}}
found in

"vue-strap": "^1.1.37"