Skip to content
This repository has been archived by the owner on May 25, 2018. It is now read-only.

popover content error #515

Open
martijnhiemstra opened this issue Aug 9, 2017 · 2 comments
Open

popover content error #515

martijnhiemstra opened this issue Aug 9, 2017 · 2 comments

Comments

@martijnhiemstra
Copy link

I am using the popover and I am seeing this error in the console:

Vue warn]: Error compiling template:
 
<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}}}

{{{content}}} - 3 brackets. 1 too much I think

@ya-kostik
Copy link

ya-kostik commented Oct 11, 2017

Hi!
I think you use Vue 2, but current master version work only with Vue 1

Try to use v2 branch

@ya-kostik
Copy link

You can do this by install vue-strap from git:

npm i [email protected]:yuche/vue-strap.git#v2

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants