yuche / vue-strap

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

invalid expression: {{{content}}} #491

Open ivancli opened 7 years ago

ivancli commented 7 years ago

Got the following error message when I was trying with popover. `


<span v-el:trigger>
    <slot></slot>
    <div v-el:popover v-if="show"
      :class="['popover',placement]"
      :transition="effect"
    >
      <div class="arrow"></div>
      <h3 class="popover-title" v-if="title">
        <slot name="title">{{title}}</slot>
      </h3>
      <div class="popover-content">
        <slot name="content">{{{content}}}</slot>
      </div>
    </div>
  </span>

- invalid expression: {{{content}}}

found in

---> <Popover>

`

WarGot-by commented 6 years ago

And you do not accidentally use twig ?

ivancli commented 6 years ago

Sorry, didn't realise it's HTMLed. Comment has been updated.